Last modified: 2014-08-05 03:56:14 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/984/ Reported by: mcknol Created on: 2009-07-17 00:02:21 Subject: self-interwikis shouldn't be removed Original description: Interwiki.py removes every internal link which refers to the own language site. For example, in en.wiki a link like \[\[en:article\]\] would be removed by the bot. This seems logical \(the main syntax for non-interwiki interlanguage links would be \[\[:en:article\]\]\), but the wiki-software doesn't interpret self-links as interwiki-links, so the pywikipedia-bot should neither do that. Here is an example: http://en.wikipedia.org/w/index.php?title=Help:Parser\_function&diff=290795738&oldid=288396807 Pywikipedia \[http\] trunk/pywikipedia \(r7065, 2009/07/14, 19:34:51\) Python 2.6 \(r26:66721, Oct 2 2008, 11:35:03\) \[MSC v.1500 32 bit \(Intel\)\]
Why you decided that it was interwiki.py ? I as see on edit-description it'is not interwiki.py
The edit description was "robot Removing: en:User:Cacycle/wikEd". This comes from interwiki.py and it removed the link due to crossed namespace as interwiki selflink. But Mediawiki interpreted it correct and the behavior must be changed.
It is not interwiki.py stuff but the method(s) links are interpreted as interlangage links.
if you use [[:en:Foo]] instead of [[en:Foo]] It'll be solved
Amir, that was already noted: "But Mediawiki interpreted it correct and the behavior must be changed.". Pywikibot should mirror MW's behavior, so we should detect [[en:etc]] is a valid link on enwiki.
*** Bug 55041 has been marked as a duplicate of this bug. ***