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:
parent
ffbb4764b9
commit
d45cdaab8b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue