Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.

This commit is contained in:
Chad Horohoe 2010-05-27 15:56:53 +00:00
parent ffbb4764b9
commit d45cdaab8b
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ class SpecialContact extends SpecialPage {
public function execute( $par ) {
global $wgUser, $wgOut, $wgRequest, $wgEnableEmail, $wgContactUser;
wfLoadExtensionMessages( 'ContactPage' );
if( !$wgEnableEmail || !$wgContactUser ) {
$wgOut->showErrorPage( 'nosuchspecialpage', 'nospecialpagetext' );
return;