Page MenuHomePhabricator

Provide qpnamespace parameter for UnconnectedPages querypage in the api
Open, Needs TriagePublic

Description

The special page for unconnected items provides the option to filter, see https://nl.wikipedia.org/w/index.php?title=Speciaal:OngekoppeldePaginas&limit=50&offset=0&namespace=0 , but the api at https://nl.wikipedia.org/w/api.php?action=query&list=querypage&qppage=UnconnectedPages&format=json&qpnamespace=0 doesn't have the option to filter by namespace. Would be nice to add that as an option. Looking at https://www.mediawiki.org/wiki/API:Querypage , more special pages would probably benefit from this.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 21 2018, 8:25 PM
Anomie moved this task from Unsorted to Blocked on the MediaWiki-API board.Sep 21 2018, 8:41 PM
Anomie added a subscriber: Anomie.

The QueryPage class does not provide a "namespace" parameter or filter. Such a thing would need to be added before ApiQueryQueryPage could sensibly have such a parameter.