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/SpecialProtectedtitles.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/specials/SpecialProtectedtitles.php') diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index 7e8126d9..d65b3f79 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -16,7 +16,7 @@ class ProtectedTitlesForm { function showList( $msg = '' ) { global $wgOut, $wgRequest; - if ( "" != $msg ) { + if ( $msg != "" ) { $wgOut->setSubtitle( $msg ); } @@ -61,7 +61,7 @@ class ProtectedTitlesForm { $skin = $wgUser->getSkin(); $title = Title::makeTitleSafe( $row->pt_namespace, $row->pt_title ); - $link = $skin->makeLinkObj( $title ); + $link = $skin->link( $title ); $description_items = array (); @@ -94,7 +94,7 @@ class ProtectedTitlesForm { function showOptions( $namespace, $type='edit', $level, $sizetype, $size ) { global $wgScript; $action = htmlspecialchars( $wgScript ); - $title = SpecialPage::getTitleFor( 'ProtectedTitles' ); + $title = SpecialPage::getTitleFor( 'Protectedtitles' ); $special = htmlspecialchars( $title->getPrefixedDBkey() ); return "
\n" . '
' . -- cgit v1.2.3-54-g00ecf