r56921 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56920‎ | r56921 | r56922 >
Date:16:20, 25 September 2009
Author:ialex
Status:ok
Tags:
Comment:
Special:IPBlockList's internal name is 'Ipblocklist', not 'IPBlockList' (throwing warnings when $wgDevelopmentWarnings is enabled)
Modified paths:
  • /trunk/phase3/includes/specials/SpecialIpblocklist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialIpblocklist.php
@@ -364,7 +364,7 @@
365365 global $wgUser;
366366 $sk = $wgUser->getSkin();
367367 $params = $override + $options;
368 - $ipblocklist = SpecialPage::getTitleFor( 'IPBlockList' );
 368+ $ipblocklist = SpecialPage::getTitleFor( 'Ipblocklist' );
369369 return $sk->link( $ipblocklist, htmlspecialchars( $title ),
370370 ( $active ? array( 'style'=>'font-weight: bold;' ) : array() ), $params, array( 'known' ) );
371371 }

Status & tagging log