mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047). Change-Id: Ic18c7ae9b70c18ffb321967aae7e9a684acfc625
This commit is contained in:
parent
558d68eb11
commit
4728b3332c
|
@ -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).
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue