r59728 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59727‎ | r59728 | r59729 >
Date:11:48, 4 December 2009
Author:ialex
Status:ok
Tags:
Comment:
Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when $wgDevelopmentWarnings is enabled
Modified paths:
  • /trunk/phase3/includes/specials/SpecialProtectedpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialProtectedpages.php
@@ -134,7 +134,7 @@
135135 */
136136 protected function showOptions( $namespace, $type='edit', $level, $sizetype, $size, $indefOnly, $cascadeOnly ) {
137137 global $wgScript;
138 - $title = SpecialPage::getTitleFor( 'ProtectedPages' );
 138+ $title = SpecialPage::getTitleFor( 'Protectedpages' );
139139 return Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) .
140140 Xml::openElement( 'fieldset' ) .
141141 Xml::element( 'legend', array(), wfMsg( 'protectedpages' ) ) .

Status & tagging log