*Border should explicitly be 0
[lhc/web/wiklou.git] / includes / SpecialProtectedpages.php
index d6e6dab..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__ );
 
@@ -129,7 +130,7 @@ class ProtectedPagesForm {
        function getNamespaceMenu( $namespace = null ) {
                return Xml::label( wfMsg( 'namespace' ), 'namespace' )
                        . '&nbsp;'
-                       . Xml::namespaceSelector( $namespace, '', false, array( NS_MEDIAWIKI, NS_MEDIAWIKI_TALK ) );
+                       . Xml::namespaceSelector( $namespace, '' );
        }
        
        /**
@@ -241,7 +242,6 @@ class ProtectedPagesPager extends AlphabeticPager {
        }
        
        function formatRow( $row ) {
-               $block = new Block;
                return $this->mForm->formatRow( $row );
        }
 
@@ -278,8 +278,6 @@ class ProtectedPagesPager extends AlphabeticPager {
  */
 function wfSpecialProtectedpages() {
 
-       list( $limit, $offset ) = wfCheckLimits();
-
        $ppForm = new ProtectedPagesForm();
 
        $ppForm->showList();