Last modified: 2014-08-05 20:27:26 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 T59303, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57303 - replace.py doesn't consider the namespace
replace.py doesn't consider the namespace
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-20 14:48 UTC by Beta16
Modified: 2014-08-05 20:27 UTC (History)
3 users (show)

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


Attachments

Description Beta16 2013-11-20 14:48:46 UTC
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.
Comment 1 Gerrit Notification Bot 2014-07-29 17:34:32 UTC
Change 150265 had a related patch set uploaded by Bep:
Fix bug 57303: namespace filtering in replace.py

https://gerrit.wikimedia.org/r/150265
Comment 2 bep 2014-07-29 20:46:39 UTC
See related bug 67435 (likely same root cause).
Comment 3 bep 2014-07-30 19:36:01 UTC
The patch is in master now. I have verrified it through my set of tests.
Comment 4 Ricordisamoa 2014-08-05 20:27:26 UTC
Please reopen if I'm wrong.

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


Navigation
Links