Last modified: 2012-12-30 04:56:40 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 T45511, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43511 - Query continue fails for titles with a space after a colon
Query continue fails for titles with a space after a colon
Status: RESOLVED DUPLICATE of bug 29290
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.19.3
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-30 04:17 UTC by Isarra
Modified: 2012-12-30 04:56 UTC (History)
5 users (show)

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


Attachments

Description Isarra 2012-12-30 04:17:50 UTC
At least with deleted revisions, trying to use drcontinue with a title that has a space after a colon results in the space being removed.

This causes scripts to get stuck in an endless loop when getting sent back to the non-space titles instead of onto the next chunk of revisions.
Comment 1 MZMcBride 2012-12-30 04:19:33 UTC
Can you provide an example query that fails?
Comment 2 Isarra 2012-12-30 04:28:08 UTC
This fails:

http://uncyclopedia.wikia.com/api.php?action=query&list=deletedrevs&drnamespace=0&drlimit=21&drdir=newer&drlimit=max&drcontinue=0|Howto:_anal_probe|

Could be the MediaWiki may be figuring it looks like a typo that actually belongs to the HowTo namespace, despite specifically not being in the HowTo namespace and coming from a query-continue that did give it the space...

These pages predate the creation of the HowTo namespace, and the deletedrevs query iterates through everything regardless of whether or not it is accessible from the frontend.
Comment 3 Isarra 2012-12-30 04:29:01 UTC
Well, okay, it doesn't fail, exactly, it goes back to HowTo:Annoy Zombiebaron. And this does annoy Zombiebaron.
Comment 4 Brad Jorsch 2012-12-30 04:54:26 UTC
This bug was fixed in MediaWiki 1.20. This can be verified, for example, by looking at https://en.wikipedia.org/w/api.php?action=query&list=deletedrevs&drnamespace=0&drprefix=Book:&drcontinue=0|Book:_The_Art_of_Kirk_Hammett| that works fine despite the relatively new "Book:" namespace.

*** This bug has been marked as a duplicate of bug 29290 ***
Comment 5 Isarra 2012-12-30 04:56:40 UTC
Generally speaking it really can't, but okay.

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


Navigation
Links