Community Wishlist Survey 2022/Miscellaneous/Allow to batch expensive queries/Proposal

  • 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]