jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/398405 )
Change subject: Switch to PSR-4 autoloader
......................................................................
Switch to PSR-4 autoloader
Change-Id: Ie41c699f5362837dfcfe96f4957633b246fbfacc
---
M extension.json
R includes/Specials/SpecialAboutTopic.php
R includes/Specials/SpecialCreateTopicPage.php
3 files changed, 5 insertions(+), 9 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/extension.json b/extension.json
index 44f79b4..fee1f7f 100644
--- a/extension.json
+++ b/extension.json
@@ -7,6 +7,9 @@
"descriptionmsg": "articleplaceholder-desc",
"type": "other",
"license-name": "GPL-2.0+",
+ "requires": {
+ "MediaWiki": ">= 1.31.0"
+ },
"SpecialPages": {
"AboutTopic":
"ArticlePlaceholder\\Specials\\SpecialAboutTopic::newFromGlobalState",
"CreateTopicPage":
"ArticlePlaceholder\\Specials\\SpecialCreateTopicPage"
@@ -16,15 +19,8 @@
"i18n"
]
},
- "AutoloadClasses": {
- "ArticlePlaceholder\\AboutTopicRenderer":
"includes/AboutTopicRenderer.php",
- "ArticlePlaceholder\\BaseTemplateToolboxHookHandler":
"includes/BaseTemplateToolboxHookHandler.php",
- "ArticlePlaceholder\\Hooks": "includes/Hooks.php",
- "ArticlePlaceholder\\ItemNotabilityFilter":
"includes/ItemNotabilityFilter.php",
-
"ArticlePlaceholder\\Lua\\Scribunto_LuaArticlePlaceholderLibrary":
"includes/Lua/Scribunto_LuaArticlePlaceholderLibrary.php",
- "ArticlePlaceholder\\SearchHookHandler":
"includes/SearchHookHandler.php",
- "ArticlePlaceholder\\Specials\\SpecialAboutTopic":
"includes/specials/SpecialAboutTopic.php",
- "ArticlePlaceholder\\Specials\\SpecialCreateTopicPage":
"includes/specials/SpecialCreateTopicPage.php"
+ "AutoloadNamespaces": {
+ "ArticlePlaceholder\\": "includes/"
},
"ExtensionMessagesFiles": {
"ArticlePlaceholderAliases": "ArticlePlaceholder.alias.php"
diff --git a/includes/specials/SpecialAboutTopic.php
b/includes/Specials/SpecialAboutTopic.php
similarity index 100%
rename from includes/specials/SpecialAboutTopic.php
rename to includes/Specials/SpecialAboutTopic.php
diff --git a/includes/specials/SpecialCreateTopicPage.php
b/includes/Specials/SpecialCreateTopicPage.php
similarity index 100%
rename from includes/specials/SpecialCreateTopicPage.php
rename to includes/Specials/SpecialCreateTopicPage.php
--
To view, visit https://gerrit.wikimedia.org/r/398405
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie41c699f5362837dfcfe96f4957633b246fbfacc
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/ArticlePlaceholder
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits