Nikerabbit has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/398016 )
Change subject: Use PSR-4 autoloader in extension.json
......................................................................
Use PSR-4 autoloader in extension.json
Rest of the files should also be moved into a suitable namespace,
such as ContentTranslation\Api and ContentTranslation\SpecialPage.
Bug: T182754
Change-Id: Ic7bf8b0caf6a1d5cf4fcb61c9e2924155c05c663
---
M extension.json
1 file changed, 3 insertions(+), 19 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/16/398016/1
diff --git a/extension.json b/extension.json
index 086cc12..0b6d644 100644
--- a/extension.json
+++ b/extension.json
@@ -83,28 +83,12 @@
"ApiQueryPublishedTranslations":
"api/ApiQueryPublishedTranslations.php",
"ApiQueryTranslatorStats": "api/ApiQueryTranslatorStats.php",
"ContentTranslationHooks": "ContentTranslation.hooks.php",
- "ContentTranslation\\AbuseFilterCheck":
"includes/AbuseFilterCheck.php",
- "ContentTranslation\\CorporaLookup":
"includes/CorporaLookup.php",
- "ContentTranslation\\Database": "includes/Database.php",
- "ContentTranslation\\DateManipulator":
"includes/DateManipulator.php",
- "ContentTranslation\\EchoNotificationPresentationModel":
"includes/EchoNotificationPresentationModel.php",
- "ContentTranslation\\JsonDumpFormatter":
"includes/JsonDumpFormatter.php",
- "ContentTranslation\\Notification": "includes/Notification.php",
- "ContentTranslation\\RestbaseClient":
"includes/RestbaseClient.php",
- "ContentTranslation\\SiteMapper": "includes/SiteMapper.php",
- "ContentTranslation\\Stats": "includes/Stats.php",
- "ContentTranslation\\Suggestion": "includes/Suggestion.php",
- "ContentTranslation\\SuggestionList":
"includes/SuggestionList.php",
- "ContentTranslation\\SuggestionListManager":
"includes/SuggestionListManager.php",
- "ContentTranslation\\TmxDumpFormatter":
"includes/TmxDumpFormatter.php",
- "ContentTranslation\\Translation": "includes/Translation.php",
- "ContentTranslation\\TranslationStorageManager":
"includes/TranslationStorageManager.php",
- "ContentTranslation\\TranslationUnit":
"includes/TranslationUnit.php",
- "ContentTranslation\\TranslationWork":
"includes/TranslationWork.php",
- "ContentTranslation\\Translator": "includes/Translator.php",
"SpecialContentTranslation":
"specials/SpecialContentTranslation.php",
"SpecialContentTranslationStats":
"specials/SpecialContentTranslationStats.php"
},
+ "AutoloadNamespaces": {
+ "ContentTranslation\\": "includes/"
+ },
"DefaultUserOptions": {
"echo-subscriptions-web-cx": true
},
--
To view, visit https://gerrit.wikimedia.org/r/398016
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7bf8b0caf6a1d5cf4fcb61c9e2924155c05c663
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits