Index: trunk/phase3/includes/Message.php |
— | — | @@ -314,7 +314,7 @@ |
315 | 315 | */ |
316 | 316 | public function isBlank() { |
317 | 317 | $message = $this->fetchMessage(); |
318 | | - return $message === false || $message == ''; |
| 318 | + return $message === false || $message === ''; |
319 | 319 | } |
320 | 320 | |
321 | 321 | /** |
— | — | @@ -323,7 +323,7 @@ |
324 | 324 | */ |
325 | 325 | public function isDisabled() { |
326 | 326 | $message = $this->fetchMessage(); |
327 | | - return $message === false || $message == '' || $message == '-'; |
| 327 | + return $message === false || $message === '' || $message === '-'; |
328 | 328 | } |
329 | 329 | |
330 | 330 | public static function rawParam( $value ) { |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -400,7 +400,7 @@ |
401 | 401 | while ( count( $parts ) > 0 ) { |
402 | 402 | $editnotice_base .= '-'.array_shift( $parts ); |
403 | 403 | $editnotice_base_msg = wfMessage( $editnotice_base )->inContentLanguage(); |
404 | | - if ( !$editnotice_base_msg->exists() ) { |
| 404 | + if ( $editnotice_base_msg->exists() ) { |
405 | 405 | $wgOut->addWikiText( $editnotice_base_msg->plain() ); |
406 | 406 | } |
407 | 407 | } |