diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /extensions/ConfirmEdit/FancyCaptcha.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'extensions/ConfirmEdit/FancyCaptcha.php')
-rw-r--r-- | extensions/ConfirmEdit/FancyCaptcha.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extensions/ConfirmEdit/FancyCaptcha.php b/extensions/ConfirmEdit/FancyCaptcha.php index 69e3be01..46002e22 100644 --- a/extensions/ConfirmEdit/FancyCaptcha.php +++ b/extensions/ConfirmEdit/FancyCaptcha.php @@ -58,3 +58,19 @@ $wgCaptchaDeleteOnSolve = false; $wgExtensionMessagesFiles['FancyCaptcha'] = $dir . '/FancyCaptcha.i18n.php'; $wgAutoloadClasses['FancyCaptcha'] = $dir . '/FancyCaptcha.class.php'; + +$wgResourceModules['ext.confirmEdit.fancyCaptcha.styles'] = array( + 'localBasePath' => $dir . '/resources', + 'remoteExtPath' => 'ConfirmEdit/resources', + 'styles' => 'ext.confirmEdit.fancyCaptcha.css', +); + +$wgResourceModules['ext.confirmEdit.fancyCaptcha'] = array( + 'localBasePath' => $dir . '/resources', + 'remoteExtPath' => 'ConfirmEdit/resources', + 'scripts' => 'ext.confirmEdit.fancyCaptcha.js', + 'dependencies' => 'mediawiki.api', +); + +$wgAutoloadClasses['ApiFancyCaptchaReload'] = $dir . '/ApiFancyCaptchaReload.php'; +$wgAPIModules['fancycaptchareload'] = 'ApiFancyCaptchaReload'; |