jenkins-bot has submitted this change and it was merged.

Change subject: Mark ReCaptcha as deprecated
......................................................................


Mark ReCaptcha as deprecated

Google does not support this module anymore, and there's a way
better replacement (ReCpatchaNoCaptcha). Mark the module as de-
precated, so that still using wiki administrators get a notice,
that they should switch the module. Currently, the planned time
for the actual removal of the feature is MediaWiki release 1.29.

Bug: T142133
Change-Id: I20cbdcd77440bd31038e6e36d00b5d08f3794e4c
---
M README.md
M ReCaptcha/ReCaptcha.class.php
2 files changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/README.md b/README.md
index 584dd33..2d2de44 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,12 @@
 * QuestyCaptcha - users have to answer a question, out of a series of
 questions defined by the administrator(s)
 * ReCaptcha - users have to identify a series of characters, either
-visually or audially, from a widget provided by the reCAPTCHA service
+visually or audially, from a widget provided by the reCAPTCHA service. This
+plugin is depreacted since MediaWiki 1.28! Please switch to the new
+ReCaptchaNoCaptcha version of ReCaptcha (which is supported by Google and
+ConfirmEdit).
+* ReCaptchaNoCaptcha - users have to solve different types of visually or
+audially tasks.
 
 ### License
 
diff --git a/ReCaptcha/ReCaptcha.class.php b/ReCaptcha/ReCaptcha.class.php
index 84d7711..7dc6919 100644
--- a/ReCaptcha/ReCaptcha.class.php
+++ b/ReCaptcha/ReCaptcha.class.php
@@ -17,6 +17,7 @@
        function getFormInformation( $tabIndex = 1 ) {
                global $wgReCaptchaPublicKey, $wgReCaptchaTheme;
 
+               wfDeprecated( 'ConfirmEdit module ReCaptcha', '1.28' );
                $useHttps = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] 
== 'on' );
                $js = 'var RecaptchaOptions = ' . Xml::encodeJsVar(
                        [ 'theme' => $wgReCaptchaTheme, 'tabindex' => $tabIndex 
]

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I20cbdcd77440bd31038e6e36d00b5d08f3794e4c
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to