Last modified: 2013-09-04 10:36:14 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 T31290, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29290 - continue does not work in some cases for prop=iwlinks&iwcontinue and list=iwbacklinks&iwblcontinue
continue does not work in some cases for prop=iwlinks&iwcontinue and list=iwb...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
: 43511 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-06 19:37 UTC by db [inactive,noenotif]
Modified: 2013-09-04 10:36 UTC (History)
10 users (show)

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


Attachments

Description db [inactive,noenotif] 2011-06-06 19:37:14 UTC
Due to titleToKey() for the third part of the continue param some continues does not.

For example the language 'de' has the canonical name for NS_FILE "Datei". When having a continue like "1|commons|File:Wiki.png" the last part is changed to "Datei:Wiki.png" and the continue cannot work, because D < F.

For the continue "1|commons|Category:Test" the result starts with K, because 'de' has NS_CATEGORY = "Kategorie"

Maybe give the interwiki also to titleToKey, so the validation of the title is done, but not a change of the namespace.

Thanks.
Comment 1 Sam Reed (reedy) 2011-06-06 19:38:26 UTC
(In reply to comment #0)
> Due to titleToKey() for the third part of the continue param some continues
> does not.
> 
> For example the language 'de' has the canonical name for NS_FILE "Datei". When
> having a continue like "1|commons|File:Wiki.png" the last part is changed to
> "Datei:Wiki.png" and the continue cannot work, because D < F.
> 
> For the continue "1|commons|Category:Test" the result starts with K, because
> 'de' has NS_CATEGORY = "Kategorie"
> 
> Maybe give the interwiki also to titleToKey, so the validation of the title is
> done, but not a change of the namespace.
> 
> Thanks.

What?
Comment 2 db [inactive,noenotif] 2011-06-06 19:56:11 UTC
http://en.wikipedia.org/w/api.php?action=query&list=iwbacklinks&iwblprefix=commons&iwbllimit=max&iwblcontinue=commons|Image:Test|0&iwblprop=iwprefix|iwtitle

The continue contains Image:Test, but the api is continue at File:Test.
Comment 3 Roan Kattouw 2011-06-07 20:04:42 UTC
Just dropping the key <-> title conversions in this module should do it.
Comment 4 Brad Jorsch 2012-05-02 01:07:47 UTC
Committed to merge queue: https://gerrit.wikimedia.org/r/6364
Comment 5 Brad Jorsch 2012-05-21 20:57:17 UTC
A more comprehensive changeset, cleaning up this issue in 14 core API modules, is Gerrit change #8407.
Comment 6 Brad Jorsch 2012-12-30 04:54:26 UTC
*** Bug 43511 has been marked as a duplicate of this bug. ***

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


Navigation
Links