Adding direction mark in Special:Protectedpages, between the page name and the size.
authorRotem Liss <rotem@users.mediawiki.org>
Mon, 29 Oct 2007 18:46:03 +0000 (18:46 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Mon, 29 Oct 2007 18:46:03 +0000 (18:46 +0000)
includes/SpecialProtectedpages.php

index 122ca8f..60a8d60 100644 (file)
@@ -52,7 +52,7 @@ class ProtectedPagesForm {
         * Callback function to output a restriction
         */
        function formatRow( $row ) {
-               global $wgUser, $wgLang;
+               global $wgUser, $wgLang, $wgContLang;
 
                wfProfileIn( __METHOD__ );
 
@@ -89,6 +89,7 @@ class ProtectedPagesForm {
                                $stxt = ' <small>' . wfMsgHtml('historyempty') . '</small>';
                        else
                                $stxt = ' <small>' . wfMsgHtml('historysize', $wgLang->formatNum( $size ) ) . '</small>';
+                       $stxt = $wgContLang->getDirMark() . $stxt;
                }
                wfProfileOut( __METHOD__ );