Last modified: 2014-04-16 01:09:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57101, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55101 - Edit summary should sort interwikis the same way as in page
Edit summary should sort interwikis the same way as in page
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Lowest enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:23 UTC by Kunal Mehta (Legoktm)
Modified: 2014-04-16 01:09 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:23:51 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/149/
Reported by: malafaya
Created on: 2008-05-24 02:08:44
Subject: Edit summary should sort interwikis the same way as in page
Original description:
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.
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:23:53 UTC
- **labels**: 745455 --> interwiki

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links