From d45cdaab8b18bdbb62fc85e0a19709534a59d57a Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 27 May 2010 15:56:53 +0000 Subject: [PATCH] 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. --- SpecialContact.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SpecialContact.php b/SpecialContact.php index cb0f42c..50dd553 100644 --- a/SpecialContact.php +++ b/SpecialContact.php @@ -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;