From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- includes/specials/SpecialUnusedtemplates.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'includes/specials/SpecialUnusedtemplates.php') diff --git a/includes/specials/SpecialUnusedtemplates.php b/includes/specials/SpecialUnusedtemplates.php index 89acd09c..6ddbab32 100644 --- a/includes/specials/SpecialUnusedtemplates.php +++ b/includes/specials/SpecialUnusedtemplates.php @@ -33,11 +33,18 @@ class UnusedtemplatesPage extends QueryPage { function formatResult( $skin, $result ) { $title = Title::makeTitle( NS_TEMPLATE, $result->title ); - $pageLink = $skin->makeKnownLinkObj( $title, '', 'redirect=no' ); - $wlhLink = $skin->makeKnownLinkObj( + $pageLink = $skin->linkKnown( + $title, + null, + array(), + array( 'redirect' => 'no' ) + ); + $wlhLink = $skin->linkKnown( SpecialPage::getTitleFor( 'Whatlinkshere' ), wfMsgHtml( 'unusedtemplateswlh' ), - 'target=' . $title->getPrefixedUrl() ); + array(), + array( 'target' => $title->getPrefixedText() ) + ); return wfSpecialList( $pageLink, $wlhLink ); } -- cgit v1.2.3-54-g00ecf