https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Web browser: --- Bug ID: 55298 Summary: self-interwikis shouldn't be removed Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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%5C_function&diff=2...
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)]
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Why you decided that it was interwiki.py ? I as see on edit-description it'is not interwiki.py
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/984
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |info@gno.de Component|interwiki.py |General
--- Comment #3 from xqt info@gno.de --- It is not interwiki.py stuff but the method(s) links are interpreted as interlangage links.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ladsgroup@gmail.com Resolution|--- |INVALID
--- Comment #4 from Amir Ladsgroup ladsgroup@gmail.com --- if you use [[:en:Foo]] instead of [[en:Foo]] It'll be solved
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |valhallasw@arctus.nl Resolution|INVALID |---
--- Comment #5 from Merlijn van Deen valhallasw@arctus.nl --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
--- Comment #6 from Ricordisamoa ricordisamoa@openmailbox.org --- *** Bug 55041 has been marked as a duplicate of this bug. ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW Summary|self-interwikis shouldn't |inline interwiki links |be removed |shouldn't be treated as | |such
https://bugzilla.wikimedia.org/show_bug.cgi?id=55298
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=55204
pywikipedia-bugs@lists.wikimedia.org