Bugs item #3411427, was opened at 2011-09-19 04:07 Message generated for change (Comment added) made by bewareofdoug You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427...
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: Open Resolution: None Priority: 4 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: xqt (xqt) Summary: Treat code-only interwikis as valid for main page
Initial Comment: Interwiki in the form of [[en:]] links to the main page.
It is easy to generate (on Toolserver or from SiteMatrix) a list of interwikis in this form for the main page and they are correct links.
So the bot must not remove them nor change them.
Suggesting the following process: 1) Pull MediaWiki:Mainpage and store it in some variable. 2) When dealing with interwiki, first compare, if the page title == that variable. 3) If yes, simply put short interwikis there (or at least do not remove nor correct them to long)
----------------------------------------------------------------------
Comment By: Doug (bewareofdoug)
Date: 2011-12-29 07:37
Message: Is this useful? Most mainpages are protected aren't they? Why don't we just have the bot ignore/skip mainpages altogether?
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2011-10-24 12:56
Message: r9672 enables short interwiki links but replaces the page title to the MediaWiki:Mainpage message
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427...
pywikipedia-bugs@lists.wikimedia.org