Rights log changes:
[lhc/web/wiklou.git] / includes / SpecialMostlinked.php
index aa86a4c..ccccc1a 100644 (file)
@@ -13,9 +13,6 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
  */
 
-/* */
-require_once 'QueryPage.php';
-
 /**
  * @package MediaWiki
  * @subpackage SpecialPage
@@ -80,8 +77,9 @@ class MostlinkedPage extends QueryPage {
                global $wgLang;
                $title = Title::makeTitleSafe( $result->namespace, $result->title );
                $link = $skin->makeLinkObj( $title );
-               $wlh = $this->makeWlhLink( $title, wfMsgHtml( 'nlinks',
-                       $wgLang->formatNum( $result->value ) ), $skin );
+               $wlh = $this->makeWlhLink( $title,
+                       wfMsgExt( 'nlinks', array( 'parsemag', 'escape'),
+                               $wgLang->formatNum( $result->value ) ), $skin );
                return wfSpecialList( $link, $wlh );
        }
 }