Last modified: 2013-12-23 18:10:44 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 T27702, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25702 - list=allpages does not list page "Category:Template:lowercase"
list=allpages does not list page "Category:Template:lowercase"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: Normal enhancement with 1 vote (vote)
: Future release
Assigned To: Bryan Tong Minh
http://test.wikipedia.org/wiki/Catego...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-29 11:53 UTC by Umherirrender
Modified: 2013-12-23 18:10 UTC (History)
8 users (show)

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


Attachments

Description Umherirrender 2010-10-29 11:53:59 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.
Comment 1 Bawolff (Brian Wolff) 2010-10-29 23:37:20 UTC
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.
Comment 2 Sam Reed (reedy) 2010-10-30 16:14:50 UTC
bug 29166 is related
Comment 3 Bawolff (Brian Wolff) 2010-10-30 17:14:40 UTC
(In reply to comment #2)
> bug 29166 is related

Bug 29166 doesn't exist :P
Comment 4 Sam Reed (reedy) 2010-10-30 18:38:21 UTC
https://bugzilla.wikimedia.org/show_bug.cgi?id=21966

Blahhh :P
Comment 5 Bryan Tong Minh 2012-12-24 19:47:04 UTC
Can't reproduce this locally. Does any know if some config setting effects this bug?
Comment 6 Bryan Tong Minh 2012-12-24 21:38:43 UTC
Should be fixed by Iaa5a71ec.
Comment 7 Andre Klapper 2013-03-21 14:46:57 UTC
Bryan: Do you plan to update your patch in Gerrit to incorporate the change proposals by Yurik?
Comment 8 Andre Klapper 2013-04-09 19:53:45 UTC
Bryan: Do you plan to update your patch in Gerrit to incorporate the change
proposals by Yurik?
Comment 9 Gerrit Notification Bot 2013-07-01 19:12:25 UTC
Change 40337 had a related patch set uploaded by Matmarex:
(bug 25702) Fix capitalization in ApiQueryBase::titlePartToKey()

https://gerrit.wikimedia.org/r/40337
Comment 10 Gerrit Notification Bot 2013-12-23 18:04:14 UTC
Change 40337 merged by jenkins-bot:
Fix capitalization in ApiQueryBase::titlePartToKey()

https://gerrit.wikimedia.org/r/40337
Comment 11 Brad Jorsch 2013-12-23 18:10:44 UTC
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.

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


Navigation
Links