r71532 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71531‎ | r71532 | r71533 >
Date:00:27, 24 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
better title check than one added in r70212
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -268,7 +268,7 @@
269269 foreach ( $pages as $page => $msg ) {
270270 $title = SpecialPage::getTitleFor( $page );
271271 $attribs = array();
272 - if ( $wgTitle == $title ) {
 272+ if ( $wgTitle->equals( $title ) ) {
273273 $attribs['class'] = 'selected';
274274 }
275275 $htmlOut .= Xml::tags( 'li', $attribs,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70212Updating and cleaning up CentralNotice user interface (prior to adding new fe...kaldari00:58, 31 July 2010

Status & tagging log