https://bugzilla.wikimedia.org/show_bug.cgi?id=36987

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected].
                   |                            |edu

--- Comment #3 from Brad Jorsch <[email protected]> 2012-05-21 
00:23:37 UTC ---
I think this bug may still occur, even in git master. But to see the bug, you
need a wiki where namespace 0 is set for case-insensitivity on the first letter
(which means titles will automatically be transformed to have an uppercase
first letter) and the namespace being processed has pages with a lowercase
first letter.

What appears to be happening is that the API is trying to return a continuation
for the page "UbuntuWiki:wiki/BugReports" (page id 11238 on that wiki). But the
API just passes "wiki/BugReports" without the namespace prefix in the
continuation parameter, and it also feeds it through the Title class to
"normalize" the title. Title (of course) treats the text as a title in
namespace 0 and therefore uppercases the first letter as part of that
normalization, so the continuation parameter comes out as "Wiki/BugReports"
instead. Which leads to an endless loop, as "Wiki/BugReports" sorts 500 pages
earlier than "wiki/BugReports".

This vaguely resembles bug 29290, and if I'm right the fix should be similar:
don't try to normalize the value passed through the continue parameter. We
should probably review all API continuation parameters to ensure this incorrect
normalization is not going on.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to