Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -896,13 +896,13 @@ |
897 | 897 | |
898 | 898 | // Allow for adding a custom group description by using |
899 | 899 | // "MediaWiki:Tp-custom-<group ID>". |
900 | | - if( wfMessage( 'tp-custom-' . $this->id )->inContentLanguage()->exists() ) { |
901 | | - $customText = ' ' . wfMessage( 'tp-custom-' . $this->id )->text(); |
902 | | - } else { |
903 | | - $customText = ''; |
| 900 | + $customText = ''; |
| 901 | + $customMessage = $wfMessage( 'tp-custom-' . $this->id )->inContentLanguage(); |
| 902 | + if( $customMessage->exists() ) { |
| 903 | + $customText = $customMessage->plain(); |
904 | 904 | } |
905 | 905 | |
906 | | - return wfMsgNoTrans( 'translate-tag-page-desc', $title, $target ) . $customText; |
| 906 | + return wfMessage( 'translate-tag-page-desc', $title, $target )->plain() . $customText; |
907 | 907 | } |
908 | 908 | } |
909 | 909 | |