Bugs item #2781005, was opened at 2009-04-25 06:46 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2781005...
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: interwiki Group: None
Status: Closed Resolution: Out of Date
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: interwiki.py empties category page with templates
Initial Comment: Operating on category pages, when zh:Category: need to be modified to zh:分类: and there is a template in category page, interwiki.py seems to remove all the contents of the page. Below 3 buggy edits done by my bot. Thanks for looking into this - en:User:Jacob.jose
1. http://en.wikipedia.org/w/index.php?title=Category:Olympic_gold_medalists_fo... 2. http://en.wikipedia.org/w/index.php?title=Category:Public_utilities&diff... 3. http://ja.wikipedia.org/w/index.php?title=Category:%E3%83%AA%E3%83%92%E3%83%...
However, below edits are ok: 1. http://en.wikipedia.org/w/index.php?title=Category:Roman_Catholic_dioceses_i... 2. http://en.wikipedia.org/w/index.php?title=Category:Painters&action=edit&...
Version: Pywikipedia [http] trunk/pywikipedia (r6564, Mar 28 2009, 17:27:58) 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 11:49
Message: Basis of the changes was a empty page but standard interwiki bots ignores empty pages as well as non-existent pages. I close this bug due to out of date.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2009-04-25 07:17
Message: A sentence has been left out from previous comment:
"Please update your local copy, and try to reproduce the bug with that newer version"
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2009-04-25 07:15
Message: hello, thanks for the report.
Your version of pywikipedia is one month old. Current revision number is r6695, meaning that more than one hundred changes were done to the framework in the meantime. The zh: Category namespace name, in particular, have been updated since.
By the way an edit like http://en.wikipedia.org/w/index.php?title=Category:Painters&diff=2834882... does not seem correct to me: [[zh:分类:画家]] is as valid as [[zh:Category:画家]], I don't see why we'd need a _standalone_ edit to change the namespace name. It's okay to normalize namespaces when adding or modifying content; it's not okay to edit just to change a namespace name.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2781005...