Last modified: 2008-11-03 10:13:17 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 T18225, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16225 - allpages API having problems with : in page titles
allpages API having problems with : in page titles
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-03 07:37 UTC by Andre Engels
Modified: 2008-11-03 10:13 UTC (History)
4 users (show)

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


Attachments

Description Andre Engels 2008-11-03 07:37:08 UTC
If allpages is given an apfrom with a : in the title, all text upto the first : is removed, apparently under the assumption that this part is the namespace name. This causes problems when doing several allpages in a row, using the apfrom from one allpages search to be the apfrom for the next: If the apfrom happens to be a page with ':' in the title, the bot will jump to a completely different place in the alphabet.

To resolve this, I would propose to change the apfrom element in the output of allpages to have the namespace name prepended; alternatively one could remove parts of the title before the first : only if it is a valid name for the current namespace.
Comment 1 Roan Kattouw 2008-11-03 10:13:17 UTC
Fixed in r43117.

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


Navigation
Links