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
Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1232