Page MenuHomePhabricator

TempateData: Make the display table sortable
Closed, ResolvedPublic


Currently, the table has only class="wikitable mw-templatedata-doc-params". It would be helpful to have also the "sortable" class (think about templates with a lot of parameters, many of them optional - the user may want to order by status or by parameter name).

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:51 AM
bzimport set Reference to bz50435.
He7d3r created this task.Jun 29 2013, 9:00 PM

A user on English Wikipedia suggests that the alphabetical ordering is going to be problematic with templates where parameters have a reason to be ordered differently. For instance, with reference citations, the parameters for first and last [names] will be separated by other parameters.

I agree using alphabetical order in the popup would not be good, but this bug is about the table which appears in the place where the <templatedata> tag is inserted (e.g. the template's /doc page).

Change 173528 had a related patch set uploaded by Glaisher:
Add "sortable" class to display table

Change 173528 merged by jenkins-bot:
Add "sortable" class to display table