Last modified: 2013-12-23 18:10:44 UTC
The page [[testwiki:Category:Template:lowercase]] is not list in an API-Result, when searching for the prefix "Template:l" (api query on the page). The problem is, that the prefix is normalized to "Template:L" like a title and so does not find the page.
Just for reference the associated api queries are: http://test.wikipedia.org/w/api.php?action=query&list=allpages&apnamespace=14&apprefix=Template:l (doesn't work. Compare with http://test.wikipedia.org/w/api.php?action=query&list=allpages&apnamespace=14&apprefix=Template: which gives expected behaviour). It seems to be caused by ApiQueryBase::titlePartToKey using Title::newFromText which assumes that any namespace prefix is an actual namespace prefix.
bug 29166 is related
(In reply to comment #2) > bug 29166 is related Bug 29166 doesn't exist :P
https://bugzilla.wikimedia.org/show_bug.cgi?id=21966 Blahhh :P
Can't reproduce this locally. Does any know if some config setting effects this bug?
Should be fixed by Iaa5a71ec.
Bryan: Do you plan to update your patch in Gerrit to incorporate the change proposals by Yurik?
Change 40337 had a related patch set uploaded by Matmarex: (bug 25702) Fix capitalization in ApiQueryBase::titlePartToKey() https://gerrit.wikimedia.org/r/40337
Change 40337 merged by jenkins-bot: Fix capitalization in ApiQueryBase::titlePartToKey() https://gerrit.wikimedia.org/r/40337
Patch merged! The change should be deployed to WMF wikis with 1.23wmf9, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.