Index: trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php |
— | — | @@ -153,11 +153,11 @@ |
154 | 154 | $description .= "\n\n"; |
155 | 155 | |
156 | 156 | if ( $descriptionData['message'] !== false ) { |
157 | | - $description .= $this->msg( 'validator-describe-descriptionmsg', 'parsemag', $this->msg( $descriptionData['message'] ) ); |
| 157 | + $description .= $this->msg( 'validator-describe-descriptionmsg', $this->msg( $descriptionData['message'] ) ); |
158 | 158 | $description .= "\n\n"; |
159 | 159 | } |
160 | 160 | else if ( $descriptionData['description'] !== false ) { |
161 | | - $description .= wfMsgExt( 'validator-describe-descriptionmsg', 'parsemag', $descriptionData['description'] ); |
| 161 | + $description .= wfMsgExt( 'validator-describe-descriptionmsg', $descriptionData['description'] ); |
162 | 162 | $description .= "\n\n"; |
163 | 163 | } |
164 | 164 | |
— | — | @@ -476,10 +476,10 @@ |
477 | 477 | } |
478 | 478 | |
479 | 479 | /** |
480 | | - * @see ParserHook::getDescription() |
| 480 | + * @see ParserHook::getMessage() |
481 | 481 | */ |
482 | | - public function getDescription() { |
483 | | - return wfMsg( 'validator-describe-description' ); |
| 482 | + public function getMessage() { |
| 483 | + return 'validator-describe-description'; |
484 | 484 | } |
485 | 485 | |
486 | 486 | /** |