Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on...
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 27 May 2010 15:56:53 +0000 (15:56 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 27 May 2010 15:56:53 +0000 (15:56 +0000)
ConfirmEdit_body.php

index c1503b8fbfb1b5986654f5a40a90073a7ed8a5e3..291fb83d1b7e8a38d5d80d5e728cc3f56d3907c2 100644 (file)
@@ -6,6 +6,10 @@ class ConfirmEditHooks {
                static $done = false;
                if ( !$done ) {
                        $done = true;
+                       wfLoadExtensionMessages( 'ConfirmEdit' );
+                       if ( isset( $wgExtensionMessagesFiles[$wgCaptchaClass] ) ) {
+                               wfLoadExtensionMessages( $wgCaptchaClass );
+                       }
                        $wgCaptcha = new $wgCaptchaClass;
                }
                return $wgCaptcha;