Tell regexp parser to use extra analysis on external link regexp;
[lhc/web/wiklou.git] / includes / SpecialAncientpages.php
index 91bd543..f799cc2 100644 (file)
@@ -24,6 +24,8 @@ class AncientPagesPage extends QueryPage {
        function isExpensive() {
                return parent::isExpensive() ;
        }
+       
+       function isSyndicated() { return false; }
 
        function getSQL() {
                $db =& wfGetDB( DB_SLAVE );
@@ -43,10 +45,10 @@ class AncientPagesPage extends QueryPage {
        }
 
        function formatResult( $skin, $result ) {
-               global $wgLang;
+               global $wgLang, $wgContLang;
 
-               $d = $wgLang->timeanddate( wfTimestamp( $result->value ), true );
-               $link = $skin->makeKnownLink( $result->title, "" );
+               $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $result->value ), true );
+               $link = $skin->makeKnownLink( $result->title, $wgContLang->convert( $result->title) );
                return "{$link} ({$d})";
        }
 }