From 4728b3332c54832e9236ce0966d1ca12c6b48818 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Mon, 3 Sep 2018 01:46:10 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 And updating CoC link to use Special:MyLanguage (T202047). Change-Id: Ic18c7ae9b70c18ffb321967aae7e9a684acfc625 --- CODE_OF_CONDUCT.md | 2 +- composer.json | 2 +- includes/ForeignNotifications.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index d8e5d0872..498acf76f 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/composer.json b/composer.json index 54096a8af..a2a23f426 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "21.0.0", + "mediawiki/mediawiki-codesniffer": "22.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1" }, diff --git a/includes/ForeignNotifications.php b/includes/ForeignNotifications.php index ced9b9626..f4299d955 100644 --- a/includes/ForeignNotifications.php +++ b/includes/ForeignNotifications.php @@ -224,7 +224,7 @@ class EchoForeignNotifications { protected static function getWikiTitle( $wikiId, array $siteFromDB = null ) { global $wgConf, $wgLang; - $msg = wfMessage( 'project-localized-name-'.$wikiId ); + $msg = wfMessage( 'project-localized-name-' . $wikiId ); // check if WikimediaMessages localized project names are available if ( $msg->exists() ) { return $msg->text();