From c192d7e5792aaf70e64a6156fd9ccf507904ee92 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 4 Dec 2009 11:48:49 +0000 Subject: [PATCH] Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when $wgDevelopmentWarnings is enabled --- includes/specials/SpecialProtectedpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ) ) . -- 2.20.1