summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php')
-rw-r--r--extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php b/extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php
new file mode 100644
index 00000000..e7528b7a
--- /dev/null
+++ b/extensions/ConfirmEdit/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.php
@@ -0,0 +1,13 @@
+<?php
+if ( function_exists( 'wfLoadExtension' ) ) {
+ wfLoadExtension( 'ConfirmEdit/ReCaptchaNoCaptcha' );
+ // Keep i18n globals so mergeMessageFileList.php doesn't break
+ $wgMessagesDirs['ReCaptchaNoCaptcha'] = __DIR__ . '/i18n';
+ /* wfWarn(
+ 'Deprecated PHP entry point used for ReCaptchaNoCaptcha extension. Please use wfLoadExtension instead, ' .
+ 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
+ ); */
+ return;
+} else {
+ die( 'This version of the ReCaptchaNoCaptcha extension requires MediaWiki 1.25+' );
+}