Page MenuHomePhabricator

continue does not work in some cases for prop=iwlinks&iwcontinue and list=iwbacklinks&iwblcontinue
Closed, ResolvedPublic

Description

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.


Version: 1.17.x
Severity: normal

Details

Reference
bz29290
ReferenceSource BranchDest BranchAuthorTitle
repos/security/gitlab-ci-security-templates!11scotts-semgrep-default-change-T312901mainsbassettChange default semgrep policies to use semgrep-rule-merge
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:27 PM
bzimport set Reference to bz29290.

(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?

Just dropping the key <-> title conversions in this module should do it.

A more comprehensive changeset, cleaning up this issue in 14 core API modules, is Gerrit changeset 8407.

  • Bug 43511 has been marked as a duplicate of this bug. ***