Page MenuHomePhabricator

replace.py doesn't consider the namespace
Closed, ResolvedPublic

Description

In compact when run:
python replace.py -xml:itwiki.xml.bz2 -namespace:0 -fix:<name>
the script works only in main namespace article.

In core, with the same arguments, works in pages of all namespaces.


Version: core-(2.0)
Severity: normal

Details

Reference
bz57303

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:27 AM
bzimport set Reference to bz57303.
bzimport added a subscriber: Unknown Object (????).

Change 150265 had a related patch set uploaded by Bep:
Fix bug 57303: namespace filtering in replace.py

https://gerrit.wikimedia.org/r/150265

bjorn.erik.pedersen wrote:

See related bug 67435 (likely same root cause).

bjorn.erik.pedersen wrote:

The patch is in master now. I have verrified it through my set of tests.