mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
ConfirmEdit changes for r50218
This commit is contained in:
parent
57a4a3972e
commit
72064bd437
|
@ -480,7 +480,7 @@ class SimpleCaptcha {
|
||||||
* @return bool true to continue saving, false to abort and show a captcha form
|
* @return bool true to continue saving, false to abort and show a captcha form
|
||||||
*/
|
*/
|
||||||
function confirmEdit( &$editPage, $newtext, $section, $merged = false ) {
|
function confirmEdit( &$editPage, $newtext, $section, $merged = false ) {
|
||||||
if( defined('API') ) {
|
if( defined('MW_API') ) {
|
||||||
# API mode
|
# API mode
|
||||||
# The CAPTCHA was already checked and approved
|
# The CAPTCHA was already checked and approved
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue