Bugs item #2520539, was opened at 2009-01-19 19:19 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2520539...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: Cosmetic changes in templates with <includeonly>
Initial Comment: Hello. There's a bug with the cosmetic changes script, because it removes all interwikis when they're between the <includeonly></includeonly> tags. See explamples:
* http://es.wikipedia.org/w/index.php?diff=prev&oldid=23378630 * http://es.wikipedia.org/w/index.php?diff=prev&oldid=23378633 * http://es.wikipedia.org/w/index.php?diff=prev&oldid=23378678 * etc.
My bot does cosmetic changes when I add "cosmetic_changs=True" in my user-config file.
Thanks.
-------------------------------
Output of version.py:
Pywikipedia [http] trunk/pywikipedia (r6270, Jan 19 2009, 15:50:18) Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-13 12:20
Message: done in r7396
----------------------------------------------------------------------
Comment By: Iván Pérez (murodeaguas) Date: 2009-01-21 16:00
Message: The error is also with r5955. I don't know since when, but this bug comes from much time ago. The first time I saw the error was in May, 2008, with this bot edition [http://es.wikipedia.org/w/index.php?curid=257750&diff=17603275&oldid...].
Maybe the problem can be fixed quickly by adding an exception to the script in order not to make changes between <includeonly> tags.
----------------------------------------------------------------------
Comment By: Cyde Weys (cydeweys) Date: 2009-01-19 22:17
Message: Can you regression test against r5955 of cosmetic_changes.py to determine whether the bug was introduced in r6270 or if it has been around since before that? Thanks.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2520539...
pywikipedia-bugs@lists.wikimedia.org