Last modified: 2011-03-13 18:04:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25801, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23801 - allpages using apprefix should accept namespace prefixes like Special:PrefixIndex does
allpages using apprefix should accept namespace prefixes like Special:PrefixI...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://meta.wikimedia.org/w/api.php?a...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-05 00:46 UTC by Mike.lifeguard
Modified: 2011-03-13 18:04 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mike.lifeguard 2010-06-05 00:46:48 UTC
Using Special:PrefixIndex, you can specify Namespace:Page and that gets translated into Page with Namespace filter. The API should do the same.

http://meta.wikimedia.org/w/api.php?action=query&list=allpages&apprefix=User:Mike.lifeguard and http://meta.wikimedia.org/w/api.php?action=query&list=allpages&apprefix=Mike.lifeguard&apnamespace=2 should return the same results
Comment 1 Roan Kattouw 2010-06-05 15:46:43 UTC
Closing as WONTFIX. &apnamespace=0&apprefix=User:Foo means something different than &apnamespace=2&apprefix=Foo as the latter lists otherwise inaccessible pages, so this is a feature: both queries are valid and have different semantics. It's the client's responsibility to say what they mean by sending the right query.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links