mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-15 03:35:15 +00:00
Merge "Add refresh functionality on fancycaptcha for mobile"
This commit is contained in:
commit
a9c4df8baa
|
@ -62,6 +62,7 @@ $wgAutoloadClasses['FancyCaptcha'] = $dir . '/FancyCaptcha.class.php';
|
|||
$wgResourceModules['ext.confirmEdit.fancyCaptcha.styles'] = array(
|
||||
'localBasePath' => $dir . '/resources',
|
||||
'remoteExtPath' => 'ConfirmEdit/resources',
|
||||
'targets' => array( 'mobile', 'desktop' ),
|
||||
'styles' => 'ext.confirmEdit.fancyCaptcha.css',
|
||||
);
|
||||
|
||||
|
@ -72,5 +73,15 @@ $wgResourceModules['ext.confirmEdit.fancyCaptcha'] = array(
|
|||
'dependencies' => 'mediawiki.api',
|
||||
);
|
||||
|
||||
// FIXME: remove, add mobile target to ext.confirmEdit.fancyCaptcha and update
|
||||
// MobileFrontend accordingly when bug 57629 is resolved
|
||||
$wgResourceModules['ext.confirmEdit.fancyCaptchaMobile'] = array(
|
||||
'localBasePath' => $dir . '/resources',
|
||||
'remoteExtPath' => 'ConfirmEdit/resources',
|
||||
'scripts' => 'ext.confirmEdit.fancyCaptcha.js',
|
||||
'targets' => array( 'mobile', 'desktop' ),
|
||||
'dependencies' => 'mobile.startup',
|
||||
);
|
||||
|
||||
$wgAutoloadClasses['ApiFancyCaptchaReload'] = $dir . '/ApiFancyCaptchaReload.php';
|
||||
$wgAPIModules['fancycaptchareload'] = 'ApiFancyCaptchaReload';
|
||||
|
|
Loading…
Reference in a new issue