Page MenuHomePhabricator

Add a way to allow action=paraminfo to dump results for all modules
Closed, ResolvedPublic

Description

Add a way to allow action=paraminfo to dump results for all modules, effectively like the normal help pages...


Version: unspecified
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:19 PM
bzimport set Reference to bz26680.
bzimport added a subscriber: Unknown Object (MLST).

This is a nice idea.

You can use the cache, if that query is to expensive (like the help page).

Should probably be caching the stuff anyway

It is possible to have this for 1.20?

enwiki has right now 48 action modules and 54 query modules. Due to the limit of 50 for the querymodules param, you have to use two queries to getting the information about all modules.

Thanks.

This would vastly simplify the Pywikibot startup sequence. (we'd still need a complex mess due to backwards compatibility, but we could shove that mess off to a subclass).

Also helpful would be to remove the limits for this module; there is a hard upper limit defined on the server : the number of modules installed, so the limit is of limited value for paraminfo.

Change 307808 had a related patch set uploaded (by Anomie):
ApiParamInfo: Allow fetching info for all submodules of a module

https://gerrit.wikimedia.org/r/307808

Change 307808 merged by jenkins-bot:
ApiParamInfo: Allow fetching info for all submodules of a module

https://gerrit.wikimedia.org/r/307808

Anomie claimed this task.
Anomie subscribed.

The specific request here is now possible by specifying [[https://en.wikipedia.beta.wmflabs.org/w/api.php?action=paraminfo&modules=main%7Cmain%2B**|modules=main|main+**]]. You can also fetch just the query submodules with [[https://en.wikipedia.beta.wmflabs.org/w/api.php?action=paraminfo&modules=query%2B*|modules=query+*]], for example. This should be deployed to WMF wikis with 1.28.0-wmf.18.