Make the table on Special:Tags sortable
authorMatmaRex <matma.rex@gmail.com>
Wed, 10 Jul 2013 20:25:42 +0000 (22:25 +0200)
committerMatmaRex <matma.rex@gmail.com>
Wed, 10 Jul 2013 20:25:42 +0000 (22:25 +0200)
Makes for easier searching when a wiki has a couple dozen of them.

Change-Id: I8646a95946294eca66003fa409a923eb854c9049

includes/specials/SpecialTags.php

index d87f263..b19c6e8 100644 (file)
@@ -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 ) {