[Pywikipedia-l] [ pywikipediabot-Bugs-1970975 ] Edit summary should sort interwikis the same way as in page

SourceForge.net noreply at sourceforge.net
Sat May 24 02:08:45 UTC 2008


Bugs item #1970975, was opened at 2008-05-24 03:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1970975&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: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit summary should sort interwikis the same way as in page

Initial Comment:
This is not exactly a bug but more a prefered feature.
As of now, interwiki.py adds interwikis to a page according to the site language, which may or may not be alphabetical sort order. When the bot edits the page, it builds an edit summary which includes the added, removed and modified interwikis in code alphabetical order, which may not correspond to the order in the edited page. The edit summary's order should match the one of the page.

In interwiki.py, the links are sorted in lines 1489-1491 but cosmetic_changes.py should also make use of this code. Both could use the function wikipedia.interwikiSort(...) recently refactored by valhallasw to sort the interwikis according to the site preference.

The community at the Frysian wikis with be very much thankful for this feature.

Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1970975&group_id=93107



More information about the Pywikipedia-l mailing list