Page MenuHomePhabricator

Enable Extension:Sort on Hindi Wikipedia
Closed, InvalidPublic

Description

Author: vibhijain

Description:
Please enable Extension:Sort on Hindi Wikipedia. The local consensus is here:
http://hi.wikipedia.org/wiki/विकिपीडिया:New_Extension


Version: unspecified
Severity: enhancement

Details

Reference
bz29829

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:37 PM
bzimport set Reference to bz29829.
bzimport added a subscriber: Unknown Object (MLST).

vibhijain wrote:

Kindly review it fast.

Looking at the code, it seems it more just needs testing that it still works on newer versions of MediaWiki, the code is relatively simple

As for the "fast"...

A few comments:

  • Although the extension looks pretty straightforward, it still needs parser tests.
  • It should be possible to restrict the sort to some sane number of items to avoid DoS.
  • Its current syntax <sort class="(ul|dl)"> looks unintuitive, I would really like it to be something like <sort list="(#|*)">
  • Can it be tweaked to sort tables?

Extension:Sort is for creating wiki lists that are alphabetically sorted. Afaik it does not allow per-language sorting and is not related to implementing a locale-specific sorting system in MediaWiki core.

Changing dependencies/blocker

sumanah wrote:

Vaibhav Jain: I'm sorry, but we can no longer see that local consensus; the page doesn't work. So if you reopen this bug, please give a link that works; thanks.

Also, the Sort extension is no longer maintained -- as you can see at https://www.mediawiki.org/wiki/User:Robchurch , the original developer is no longer involved in maintaining or working on MediaWiki-related software, and last worked on Sort in 2007 (see https://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki&path=%2Ftrunk%2Fextensions%2FSort ). I left a message at https://www.mediawiki.org/wiki/Extension_talk:Sort#Code_review.2C_deployment_on_Wikimedia_Foundation_sites mentioning this Bugzilla issue and asking for fixes, but I do not predict a quick response unless someone finds a volunteer to fix up Sort.

So it might be better to open a new bug (or set of bugs) to specify, specifically, what functionality you need, and then we can figure out what extensions, gadgets, or core modifications would be needed to get you that functionality. I assume that the internationalization team will be interested, so please add that keyword.

Thanks!