From: MatmaRex Date: Wed, 10 Jul 2013 20:25:42 +0000 (+0200) Subject: Make the table on Special:Tags sortable X-Git-Tag: 1.31.0-rc.0~19213 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=f748bd55ed0bfeb8511a7e28f9c2621963df0a05;p=lhc%2Fweb%2Fwiklou.git Make the table on Special:Tags sortable Makes for easier searching when a wiki has a couple dozen of them. Change-Id: I8646a95946294eca66003fa409a923eb854c9049 --- diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index d87f26365b..b19c6e8600 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -58,7 +58,7 @@ class SpecialTags extends SpecialPage { $html .= $this->doTagRow( $tag, 0 ); } - $out->addHTML( Xml::tags( 'table', array( 'class' => 'wikitable mw-tags-table' ), $html ) ); + $out->addHTML( Xml::tags( 'table', array( 'class' => 'wikitable sortable mw-tags-table' ), $html ) ); } function doTagRow( $tag, $hitcount ) {