ToastFreeware
/
toast
/
cookiecaptcha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7fe46
)
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on...
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 27 May 2010 15:56:53 +0000
(15:56 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 27 May 2010 15:56:53 +0000
(15:56 +0000)
ConfirmEdit_body.php
patch
|
blob
|
history
diff --git
a/ConfirmEdit_body.php
b/ConfirmEdit_body.php
index c1503b8fbfb1b5986654f5a40a90073a7ed8a5e3..291fb83d1b7e8a38d5d80d5e728cc3f56d3907c2 100644
(file)
--- a/
ConfirmEdit_body.php
+++ b/
ConfirmEdit_body.php
@@
-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;