Currently the namespace query string parameter only accepts one value, but for T163521: Replace "Namespace" widget in RCFilters with a user-friendly OOUI version we need it to accept multiple values. We also need the invert parameter to keep working, in that &namespace=1,2,3,4&invert=1 should show everything that is not in namespaces 1, 2, 3 or 4. The associated parameter does not need to work together with multi-value namespaces, because &namespace=2&associated=1 is equivalent to &namespaces=2,3.
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Change delimiter for multiple namespaces and tags | mediawiki/core | master | +18 -11 | |
| RC Filters: support multiple namespaces | mediawiki/core | master | +54 -45 |
Event Timeline
Change 351350 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/core@master] RC Filters: support multiple namespaces
Change 351350 merged by jenkins-bot:
[mediawiki/core@master] RC Filters: support multiple namespaces
Moving back to "in dev" since using the comma as a separator won't work with page inclusion. See https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/specials/SpecialRecentchanges.php;f72f4b759591c27c03154d10528a4096b3bb6cea$278
Checked in betalabs: negative numbers for negative namespaces, big numbers are accepted: &namespace=-1,-2,5501 will become &namespace=-1%2C-2&%2C5501 in url. The results retuned seem to be correct.
(I looked for the namespaces defined on wiki via: https://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&formatversion=2 )
Change 352542 had a related patch set uploaded (by Mattflaschen; owner: Mattflaschen):
[mediawiki/core@master] Change delimiter for multiple namespaces and tags to semi-colon
Change 352542 merged by jenkins-bot:
[mediawiki/core@master] Change delimiter for multiple namespaces and tags