Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/396628 )

Change subject: Rename file ApiQueryCnContributors.php to match class
......................................................................

Rename file ApiQueryCnContributors.php to match class

File name in autoload is correct cased, but the mention class was wrong.

Change-Id: I67b0d788d0e96321ee8a21a00f524b4606cc1221
---
M .phpcs.xml
R api/ApiQueryCnContributors.php
M extension.json
3 files changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Contributors 
refs/changes/28/396628/1

diff --git a/.phpcs.xml b/.phpcs.xml
index 8816075..170438a 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -7,11 +7,9 @@
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
                <exclude 
name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
-               <exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" 
/>
                <exclude 
name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
        </rule>
        <file>.</file>
        <arg name="extensions" value="php,php5,inc"/>
        <arg name="encoding" value="UTF-8"/>
-       <exclude-pattern>vendor</exclude-pattern>
 </ruleset>
diff --git a/api/ApiQueryCncontributors.php b/api/ApiQueryCnContributors.php
similarity index 100%
rename from api/ApiQueryCncontributors.php
rename to api/ApiQueryCnContributors.php
diff --git a/extension.json b/extension.json
index afb7e88..63a7b3d 100644
--- a/extension.json
+++ b/extension.json
@@ -14,7 +14,7 @@
                "Contributors": "SpecialContributors"
        },
        "APIPropModules": {
-               "contributors": "ApiQueryContributors"
+               "contributors": "ApiQueryCnContributors"
        },
        "MessagesDirs": {
                "Contributors": [
@@ -30,7 +30,7 @@
                "SpecialContributors": "includes/SpecialContributors.php",
                "ContributorsHooks": "includes/ContributorsHooks.php",
                "ContributorsTablePager":"includes/ContributorsTablePager.php",
-               "ApiQueryContributors":"api/ApiQueryCnContributors.php"
+               "ApiQueryCnContributors":"api/ApiQueryCnContributors.php"
        },
        "Hooks": {
                "PageContentSaveComplete": [

-- 
To view, visit https://gerrit.wikimedia.org/r/396628
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67b0d788d0e96321ee8a21a00f524b4606cc1221
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Contributors
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to