Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -268,7 +268,7 @@ |
269 | 269 | foreach ( $pages as $page => $msg ) { |
270 | 270 | $title = SpecialPage::getTitleFor( $page ); |
271 | 271 | $attribs = array(); |
272 | | - if ( $wgTitle == $title ) { |
| 272 | + if ( $wgTitle->equals( $title ) ) { |
273 | 273 | $attribs['class'] = 'selected'; |
274 | 274 | } |
275 | 275 | $htmlOut .= Xml::tags( 'li', $attribs, |