[Pywikipedia-bugs] [ pywikipediabot-Bugs-3411427 ] Treat code-only interwikis as valid for main page
SourceForge.net
noreply at sourceforge.net
Mon Oct 24 19:56:28 UTC 2011
Bugs item #3411427, was opened at 2011-09-19 13:07
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427&group_id=93107
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: xqt (xqt)
Date: 2011-10-24 21: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&group_id=93107
More information about the Pywikipedia-bugs
mailing list