Tell regexp parser to use extra analysis on external link regexp;
[lhc/web/wiklou.git] / includes / SpecialShortpages.php
index 01fe45f..3faf483 100644 (file)
@@ -25,6 +25,7 @@ class ShortPagesPage extends QueryPage {
        function isExpensive() {
                return true;
        }
+       function isSyndicated() { return false; }
 
        function getSQL() {
                $dbr =& wfGetDB( DB_SLAVE );
@@ -45,9 +46,9 @@ class ShortPagesPage extends QueryPage {
        }
 
        function formatResult( $skin, $result ) {
-               global $wgLang;
+               global $wgLang, $wgContLang;
                $nb = wfMsg( "nbytes", $wgLang->formatNum( $result->value ) );
-               $link = $skin->makeKnownLink( $result->title, "" );
+               $link = $skin->makeKnownLink( $result->title, $wgContLang->convert( $result->title ) );
                return "{$link} ({$nb})";
        }
 }