Index: trunk/extensions/Validator/includes/Parameter.php |
— | — | @@ -477,10 +477,12 @@ |
478 | 478 | * @return string |
479 | 479 | */ |
480 | 480 | public function getTypeMessage() { |
| 481 | + global $wgLang; |
| 482 | + |
481 | 483 | $message = wfMsg( 'validator-type-' . $this->type ); |
482 | 484 | return $this->isList() ? |
483 | 485 | wfMsgExt( 'validator-describe-listtype', 'parsemag', $message ) |
484 | | - : Language::ucfirst( $message ); |
| 486 | + : $wgLang->ucfirst( $message ); |
485 | 487 | } |
486 | 488 | |
487 | 489 | /** |