From 9171362258db8952b9f18b3e55c95f1cad79f818 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 4 Nov 2009 12:04:34 +0000 Subject: [PATCH] Fix Special:ProtectedTitles' canonical name (Protectedtitles) to avoid notice when $wgDevelopmentWarnings is enabled --- includes/specials/SpecialProtectedtitles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index 720b2f612f..2274f93e8f 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -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" . '
' . -- 2.20.1