From 223ff14572d59bcc7f65309685bf012a5e365f5a Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Sun, 19 Aug 2018 11:06:26 +0000 Subject: [PATCH] build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 And updating CoC link to use Special:MyLanguage (T202047). Change-Id: I9830f95de17383a7f4fba6f323550bc9061acc06 --- CODE_OF_CONDUCT.md | 2 +- FancyCaptcha/includes/FancyCaptcha.php | 2 +- composer.json | 2 +- includes/auth/CaptchaAuthenticationRequest.php | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index d8e5d087..498acf76 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1 +1 @@ -The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct). +The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct). diff --git a/FancyCaptcha/includes/FancyCaptcha.php b/FancyCaptcha/includes/FancyCaptcha.php index bb40d4c6..eebe9fec 100644 --- a/FancyCaptcha/includes/FancyCaptcha.php +++ b/FancyCaptcha/includes/FancyCaptcha.php @@ -156,7 +156,7 @@ public function getFormInformation( $tabIndex = 1 ) { 'required' => 'required', // tab in before the edit textarea 'tabindex' => $tabIndex, - 'placeholder' => wfMessage( 'fancycaptcha-imgcaptcha-ph' ) + 'placeholder' => wfMessage( 'fancycaptcha-imgcaptcha-ph' )->text() ] ); if ( $this->action == 'createaccount' ) { diff --git a/composer.json b/composer.json index cbd39294..14a4eebf 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,6 @@ ] }, "extra": { - "phan-taint-check-plugin": "1.2.0" + "phan-taint-check-plugin": "1.3.0" } } diff --git a/includes/auth/CaptchaAuthenticationRequest.php b/includes/auth/CaptchaAuthenticationRequest.php index b7699b24..d19a9dbd 100644 --- a/includes/auth/CaptchaAuthenticationRequest.php +++ b/includes/auth/CaptchaAuthenticationRequest.php @@ -36,6 +36,10 @@ public function loadFromSubmission( array $data ) { return $success; } + /** + * @inheritDoc + * @suppress SecurityCheck-DoubleEscaped T202112 + */ public function getFieldInfo() { $captcha = ConfirmEditHooks::getInstance();