Community Wishlist Survey 2022/Miscellaneous/Allow to batch expensive queries
Allow to batch expensive queries
- Problem: There is a limit of 500 "expensive" functions, most notably "IfExist" and "PagesInCategory". Internally, "IfExist" can be batched and is thus not expensive. The limit causes problems for some wikis, most notably wiktionaries. Raising the limit for a single wiki is technically possible, but reliably getting rejected due to performance and precendent effect. A better solution giving a higher limit without higher consumption of processor performance on the servers is needed.
- Proposed solution: Add a LUA function providing batched access to at least "IfExist" (and "PagesInCategory" too if possible and useful).
- Who would benefit: template and module developers, users
- More comments:
- Phabricator tickets: phab:T278629
- Proposer: Taylor 49 (talk) 22:51, 22 January 2022 (UTC)
Discussion
Voting
- Support —The Editor's Apprentice (talk) 18:36, 28 January 2022 (UTC)
- Support * Pppery * it has begun 18:45, 28 January 2022 (UTC)
- Support Thingofme (talk) 15:57, 31 January 2022 (UTC)
- Support If batching really has effect on performance Wargo (talk) 21:32, 1 February 2022 (UTC)
- A wiki page can have over 500 wikilinks, and they will be blue or red as expected. This is the better way, but it's "internal" for now. I have tested this. Taylor 49 (talk) 23:59, 2 February 2022 (UTC)
- Support As the proposer. Taylor 49 (talk) 23:59, 2 February 2022 (UTC)
- Support - Darwin Ahoy! 01:59, 5 February 2022 (UTC)
- Support Ayumu Ozaki (talk) 06:28, 6 February 2022 (UTC)
- Support: clear use case for template writers. — Bilorv (talk) 10:33, 6 February 2022 (UTC)
- Support --Ciao • Bestoernesto • ✉ 17:34, 6 February 2022 (UTC)
- Support — DaxServer (t · c) 21:05, 6 February 2022 (UTC)
- Support paul2520 (talk) 15:28, 7 February 2022 (UTC)
- Support Rots61 (talk) 22:19, 8 February 2022 (UTC)
- Support ~~~~
User:1234qwer1234qwer4 (talk) 22:29, 8 February 2022 (UTC)