Fix Special:ProtectedTitles' canonical name (Protectedtitles) to avoid notice when...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 4 Nov 2009 12:04:34 +0000 (12:04 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 4 Nov 2009 12:04:34 +0000 (12:04 +0000)
includes/specials/SpecialProtectedtitles.php

index 720b2f6..2274f93 100644 (file)
@@ -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 "<form action=\"$action\" method=\"get\">\n" .
                        '<fieldset>' .