sync from fr.wikipedia.org
[lhc/web/wiklou.git] / includes / SpecialSpecialpages.php
index 265af2f..91b7147 100644 (file)
@@ -12,7 +12,7 @@ function wfSpecialSpecialpages() {
        global $wgLang, $wgOut, $wgUser, $wgAvailableRights;
        
        $wgOut->setRobotpolicy( 'index,nofollow' );
-       $sk = $wgUser->getSkin();       
+       $sk = $wgUser->getSkin();
        
        # Get listable pages, in a 2-d array with the first dimension being user right
        $pages = SpecialPage::getPages();
@@ -62,7 +62,7 @@ function wfSpecialSpecialpages_gen($pages,$heading,$sk) {
        }
 
        /** Now output the HTML */
-       $wgOut->addHTML( '<h2>' . wfMsg( $heading ) . "</h2>\n<ul>" );
+       $wgOut->addHTML( '<h2>' . wfMsgHtml( $heading ) . "</h2>\n<ul>" );
        foreach ( $sortedPages as $desc => $title ) {
                $link = $sk->makeKnownLinkObj( $title, $desc );
                $wgOut->addHTML( "<li>{$link}</li>\n" );