r93641 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93640‎ | r93641 | r93642 >
Date:19:55, 1 August 2011
Author:jeroendedauw
Status:deferred
Tags:lamecommitsummary 
Comment:
Modified paths:
  • /trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php
@@ -153,11 +153,11 @@
154154 $description .= "\n\n";
155155
156156 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'] ) );
158158 $description .= "\n\n";
159159 }
160160 else if ( $descriptionData['description'] !== false ) {
161 - $description .= wfMsgExt( 'validator-describe-descriptionmsg', 'parsemag', $descriptionData['description'] );
 161+ $description .= wfMsgExt( 'validator-describe-descriptionmsg', $descriptionData['description'] );
162162 $description .= "\n\n";
163163 }
164164
@@ -476,10 +476,10 @@
477477 }
478478
479479 /**
480 - * @see ParserHook::getDescription()
 480+ * @see ParserHook::getMessage()
481481 */
482 - public function getDescription() {
483 - return wfMsg( 'validator-describe-description' );
 482+ public function getMessage() {
 483+ return 'validator-describe-description';
484484 }
485485
486486 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93639Added language parameter to describe that allows setting the lang for the gen...jeroendedauw19:46, 1 August 2011

Status & tagging log