Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 4 Dec 2009 11:48:49 +0000 (11:48 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 4 Dec 2009 11:48:49 +0000 (11:48 +0000)
includes/specials/SpecialProtectedpages.php

index 905f6e1..7c116af 100644 (file)
@@ -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' ) ) .