Tell regexp parser to use extra analysis on external link regexp;
[lhc/web/wiklou.git] / includes / SpecialDisambiguations.php
index 5f76938..0243e05 100644 (file)
@@ -22,6 +22,7 @@ class DisambiguationsPage extends PageQueryPage {
        }
        
        function isExpensive( ) { return true; }
+       function isSyndicated() { return false; }
 
        function getPageHeader( ) {
                global $wgUser;
@@ -54,8 +55,8 @@ class DisambiguationsPage extends PageQueryPage {
        }
        
        function formatResult( $skin, $result ) {
-               global $wgLang ;
-               $ns = $wgLang->getNamespaces() ;
+               global $wgContLang ;
+               $ns = $wgContLang->getNamespaces() ;
 
                $from = $skin->makeKnownLink( $ns[$result->ns_art].':'.$result->title_art ,'');
                $edit = $skin->makeBrokenLink( $ns[$result->ns_art].':'.$result->title_art , "(".wfMsg("qbedit").")" , 'redirect=no');