diff --git a/composer.json b/composer.json index edad2b43e..8d8396094 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "23.0.0", + "mediawiki/mediawiki-codesniffer": "24.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1" }, diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php index 720ab61db..be5d46281 100644 --- a/includes/skins/SkinMinerva.php +++ b/includes/skins/SkinMinerva.php @@ -252,7 +252,7 @@ class SkinMinerva extends SkinTemplate { } if ( - ! in_array( $action, $config->get( 'MinervaPageActions' ) ) + !in_array( $action, $config->get( 'MinervaPageActions' ) ) || ( $this->getUserPageHelper()->isUserPage() && !$title->exists() ) ) { return false;