https://bugzilla.wikimedia.org/show_bug.cgi?id=55260
Web browser: ---
Bug ID: 55260
Summary: category.py move ignores noinclude, includeonly
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1232/
Reported by: djbarrett
Created on: 2010-08-26 14:05:12
Subject: category.py move ignores noinclude, includeonly
Original description:
When running "python category.py move", if the old category is enclosed in
<noinclude> or <includeonly> tags, the new, replaced category is
not, which is a problem. For example, this construction:
<includeonly>\[\[Category:Foo\]\]</includeonly>
when operated on by:
python category.py move -from:"Foo" -to:"Bar"
produces:
<includeonly></includeonly>
\[\[Category:Bar\]\]
which is wrong.
This bug has existed for a long time, at least a few years.
$ python version.py
Python 2.4.3 \(\#1, Sep 3 2009, 15:37:37\)
\[GCC 4.1.2 20080704 \(Red Hat 4.1.2-46\)\]
config-settings:
use\_api = True
use\_api\_login = True
$ svn info
Revision: 8319
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs