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)[reply]

Discussion

Voting

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)[reply]