From: Alexandre Emsenhuber Date: Fri, 4 Dec 2009 11:48:49 +0000 (+0000) Subject: Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when... X-Git-Tag: 1.31.0-rc.0~38632 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=c192d7e5792aaf70e64a6156fd9ccf507904ee92;p=lhc%2Fweb%2Fwiklou.git Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when $wgDevelopmentWarnings is enabled --- diff --git a/includes/specials/SpecialProtectedpages.php b/includes/specials/SpecialProtectedpages.php index 905f6e1c96..7c116afd64 100644 --- a/includes/specials/SpecialProtectedpages.php +++ b/includes/specials/SpecialProtectedpages.php @@ -134,7 +134,7 @@ class ProtectedPagesForm { */ protected function showOptions( $namespace, $type='edit', $level, $sizetype, $size, $indefOnly, $cascadeOnly ) { global $wgScript; - $title = SpecialPage::getTitleFor( 'ProtectedPages' ); + $title = SpecialPage::getTitleFor( 'Protectedpages' ); return Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . Xml::openElement( 'fieldset' ) . Xml::element( 'legend', array(), wfMsg( 'protectedpages' ) ) .