mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
build: Update mediawiki/mediawiki-codesniffer to 0.11.1
Change-Id: Ie1307df0f85cf0ccb7ad24961df7b63005f9c745
This commit is contained in:
parent
2a5a8cebe0
commit
cb2a80dab7
|
@ -234,7 +234,7 @@ class SimpleCaptcha {
|
||||||
$msg = wfMessage( $name );
|
$msg = wfMessage( $name );
|
||||||
// obtain a more tailored message, if possible, otherwise, fall back to
|
// obtain a more tailored message, if possible, otherwise, fall back to
|
||||||
// the default for edits
|
// the default for edits
|
||||||
return $msg->isDisabled() ? wfMessage( static::$messagePrefix . 'edit' ) : $msg;
|
return $msg->isDisabled() ? wfMessage( static::$messagePrefix . 'edit' ) : $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||||
"mediawiki/mediawiki-codesniffer": "0.10.1",
|
"mediawiki/mediawiki-codesniffer": "0.11.1",
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2"
|
"jakub-onderka/php-console-highlighter": "0.3.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -162,7 +162,7 @@ class ConfirmEditHooks {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $wgReCaptchaPublicKey == '' || $wgReCaptchaPrivateKey == '' ) {
|
if ( $wgReCaptchaPublicKey == '' || $wgReCaptchaPrivateKey == '' ) {
|
||||||
die (
|
die(
|
||||||
'You need to set $wgReCaptchaPrivateKey and $wgReCaptchaPublicKey in LocalSettings.php to ' .
|
'You need to set $wgReCaptchaPrivateKey and $wgReCaptchaPublicKey in LocalSettings.php to ' .
|
||||||
"use the reCAPTCHA plugin. You can sign up for a key <a href='" .
|
"use the reCAPTCHA plugin. You can sign up for a key <a href='" .
|
||||||
htmlentities( recaptcha_get_signup_url( $wgServerName, "mediawiki" ) ) .
|
htmlentities( recaptcha_get_signup_url( $wgServerName, "mediawiki" ) ) .
|
||||||
|
|
Loading…
Reference in a new issue