From: Alexandre Emsenhuber Date: Wed, 4 Nov 2009 12:04:34 +0000 (+0000) Subject: Fix Special:ProtectedTitles' canonical name (Protectedtitles) to avoid notice when... X-Git-Tag: 1.31.0-rc.0~38980 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9171362258db8952b9f18b3e55c95f1cad79f818;p=lhc%2Fweb%2Fwiklou.git Fix Special:ProtectedTitles' canonical name (Protectedtitles) to avoid notice when $wgDevelopmentWarnings is enabled --- 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" . '
' .