r99340 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99339‎ | r99340 | r99341 >
Date:06:56, 9 October 2011
Author:aaron
Status:deferred
Tags:
Comment:
Made notice in confirmAccountsNotice() actually show on RC...getting the case right is kind of annoying here due to no standard (see SpecialPageFactory)
Modified paths:
  • /trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php
@@ -61,7 +61,7 @@
6262 }
6363 # Only show on some special pages
6464 $title = $context->getTitle();
65 - if ( !$title->isSpecial( 'RecentChanges' ) && !$title->isSpecial( 'Watchlist' ) ) {
 65+ if ( !$title->isSpecial( 'Recentchanges' ) && !$title->isSpecial( 'Watchlist' ) ) {
6666 return true;
6767 }
6868 $count = ConfirmAccount::getOpenEmailConfirmedCount( '*' );

Status & tagging log