EBernhardson has submitted this change and it was merged.

Change subject: Prepare for revert of patch in ConfirmEdit
......................................................................


Prepare for revert of patch in ConfirmEdit

Change-Id: I49d86646d609667f28192ca1ae66e168332a14c7
---
M includes/SpamFilter/ConfirmEdit.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  EBernhardson: Verified; Looks good to me, approved



diff --git a/includes/SpamFilter/ConfirmEdit.php 
b/includes/SpamFilter/ConfirmEdit.php
index 8bb10b4..89baa3e 100644
--- a/includes/SpamFilter/ConfirmEdit.php
+++ b/includes/SpamFilter/ConfirmEdit.php
@@ -29,7 +29,7 @@
 
                // first check if the submitted content is offensive (as 
flagged by
                // ConfirmEdit), next check for a (valid) captcha to have been 
entered
-               if ( $captcha->shouldCheck( $wikiPage, $newContent, false, 
$context, false, $oldContent ) && !$captcha->passCaptcha() ) {
+               if ( $captcha->shouldCheck( $wikiPage, $newContent, false, 
false, $oldContent ) && !$captcha->passCaptcha() ) {
                        // getting here means we submitted bad content without 
good captcha
                        // result (or any captcha result at all) - let's get 
the captcha
                        // HTML to display as error message!

-- 
To view, visit https://gerrit.wikimedia.org/r/201619
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I49d86646d609667f28192ca1ae66e168332a14c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to