]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/specials/SpecialShortpages.php
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.git] / includes / specials / SpecialShortpages.php
index 2e7d24a5a027a0ae6a1127c46e1cef285c766a4f..c41b15c5dfa6916e607ce34383c3dfcddca2f94d 100644 (file)
@@ -74,10 +74,15 @@ class ShortPagesPage extends QueryPage {
                if ( !$title ) {
                        return '<!-- Invalid title ' .  htmlspecialchars( "{$result->namespace}:{$result->title}" ). '-->';
                }
-               $hlink = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'hist' ), 'action=history' );
+               $hlink = $skin->linkKnown(
+                       $title,
+                       wfMsgHtml( 'hist' ),
+                       array(),
+                       array( 'action' => 'history' )
+               );
                $plink = $this->isCached()
-                                       ? $skin->makeLinkObj( $title )
-                                       : $skin->makeKnownLinkObj( $title );
+                                       ? $skin->link( $title )
+                                       : $skin->linkKnown( $title );
                $size = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ), $wgLang->formatNum( htmlspecialchars( $result->value ) ) );
 
                return $title->exists()