Index: trunk/phase3/includes/Message.php |
— | — | @@ -294,6 +294,7 @@ |
295 | 295 | public function setContext( IContextSource $context ) { |
296 | 296 | $this->inLanguage( $context->getLanguage() ); |
297 | 297 | $this->title( $context->getTitle() ); |
| 298 | + $this->interface = true; |
298 | 299 | |
299 | 300 | return $this; |
300 | 301 | } |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -773,8 +773,8 @@ |
774 | 774 | // the context, but setting the language for Message class removes the |
775 | 775 | // interface message status, which breaks for example usernameless gender |
776 | 776 | // invokations. Restore the flag when not including special page in content. |
777 | | - if ( !$this->including() ) { |
778 | | - $message->setInterfaceMessageFlag( true ); |
| 777 | + if ( $this->including() ) { |
| 778 | + $message->setInterfaceMessageFlag( false ); |
779 | 779 | } |
780 | 780 | return $message; |
781 | 781 | } |