Page MenuHomePhabricator

ApiQueryAllRevisions second example is wrong
Closed, ResolvedPublic

Description

Steps to reproduce:
Visit https://en.wikibooks.org/w/api.php?action=help&modules=query+allrevisions
Under examples, the second says "List the first 50 revisions in the main namespace."
The link is to https://en.wikibooks.org/w/api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=50

Expected: link includes &arvnamespace=0 so that only the mainspace is shown

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 561726 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] ApiQueryAllRevisions: Fix second example

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

Change 561726 merged by jenkins-bot:
[mediawiki/core@master] ApiQueryAllRevisions: Fix second example

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