Bugs item #3465680, was opened at 2011-12-26 13:47 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3465680...
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: Pending Resolution: Invalid
Priority: 7 Private: No Submitted By: Yevhen Movsesov ()
Assigned to: xqt (xqt)
Summary: Cosmetic_changes.py deletes cross wiki-links
Initial Comment: Python 2.6.7 (r267:88850, Sep 19 2011, 13:25:28) [GCC 4.5.2] config-settings: use_api = True use_api_login = True unicode test: ok
1. I ran in RU-wiki one command: python /home/$USERNAME/pywiki/cosmetic_changes.py -lang:ru -always -file:/tmp/somefile
2. File "/tmp/somefile" contain list of articles for processing Struthiomimus QoS
3. For article "Struthiomimus" in RU-wiki I see, that it was deleted EN cross-link [[en:Steveville|Steveville]] https://secure.wikimedia.org/wikipedia/ru/w/index.php?title=Struthiomimus&am...
4. I think, that cosmetic_changes.py should not deletes cross-links to other wikis.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-12-29 09:25
Message: Like mediawiki software pwb interprets [[en:Steveville|Steveville]] as a interwiki link not as a crosswiki link. These must be writen as [[:en:Steveville|Steveville]] . I do not see anything wrong with the bot.
----------------------------------------------------------------------
Comment By: Doug (bewareofdoug) Date: 2011-12-29 07:20
Message: This may be caused by the same code but the desired effect is slightly different, so it's not entirely a dup - but it is obviously related. In this case though, cosmetic_changes.py should convert [[en:Steveville|Steveville]] to [[:en:Steveville|Steveville]] because it's in the body of the article rather than treating it as an interwiki language link.
----------------------------------------------------------------------
Comment By: Yevhen Movsesov () Date: 2011-12-26 22:59
Message: It seems, it the same issue as https://sourceforge.net/tracker/?func=detail&aid=3012516&group_id=93...
----------------------------------------------------------------------
Comment By: Yevhen Movsesov () Date: 2011-12-26 22:48
Message: Error with "standardizePageFooter". When I comment line # text = self.standardizePageFooter(text) in file cosmetic_changes.py then I can't reproduce error.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3465680...
pywikipedia-bugs@lists.wikimedia.org