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

Change subject: Follow-up 2dfb4511e9: call parent constructor in 
gen-autoload.php
......................................................................

Follow-up 2dfb4511e9: call parent constructor in gen-autoload.php

And also actually run the script.

Change-Id: I60cd1b745bf3b399b6709c2a3036fff590401e35
---
M extension.json
M scripts/gen-autoload.php
2 files changed, 120 insertions(+), 119 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/93/361493/1

diff --git a/extension.json b/extension.json
index 1ed6285..e3f9e7f 100644
--- a/extension.json
+++ b/extension.json
@@ -51,124 +51,6 @@
        "ExtensionMessagesFiles": {
                "EchoAliases": "Echo.alias.php"
        },
-       "AutoloadClasses": {
-               "ApiCrossWikiBase": "includes/api/ApiCrossWikiBase.php",
-               "ApiEchoMarkRead": "includes/api/ApiEchoMarkRead.php",
-               "ApiEchoMarkReadTest": 
"tests/phpunit/api/ApiEchoMarkReadTest.php",
-               "ApiEchoMarkSeen": "includes/api/ApiEchoMarkSeen.php",
-               "ApiEchoNotifications": "includes/api/ApiEchoNotifications.php",
-               "ApiEchoNotificationsTest": 
"tests/phpunit/api/ApiEchoNotificationsTest.php",
-               "ApiEchoUnreadNotificationPages": 
"includes/api/ApiEchoUnreadNotificationPages.php",
-               "BackfillReadBundles": "maintenance/backfillReadBundles.php",
-               "BackfillUnreadWikis": "maintenance/backfillUnreadWikis.php",
-               "Bundleable": "includes/Bundleable.php",
-               "Bundler": "includes/Bundler.php",
-               "BundlerTest": "tests/phpunit/BundlerTest.php",
-               "ContainmentSetTest": "tests/phpunit/ContainmentSetTest.php",
-               "EchoAbstractEntity": "includes/model/AbstractEntity.php",
-               "EchoAbstractMapper": "includes/mapper/AbstractMapper.php",
-               "EchoAbstractMapperStub": 
"tests/phpunit/mapper/AbstractMapperTest.php",
-               "EchoAbstractMapperTest": 
"tests/phpunit/mapper/AbstractMapperTest.php",
-               "EchoArrayList": "includes/ContainmentSet.php",
-               "EchoAttributeManager": "includes/AttributeManager.php",
-               "EchoAttributeManagerTest": 
"tests/phpunit/AttributeManagerTest.php",
-               "EchoCachedList": "includes/ContainmentSet.php",
-               "EchoCallbackIterator": 
"includes/iterator/CallbackIterator.php",
-               "EchoCatchableFatalErrorException": 
"includes/exception/CatchableFatalErrorException.php",
-               "EchoContainmentList": "includes/ContainmentSet.php",
-               "EchoContainmentSet": "includes/ContainmentSet.php",
-               "EchoDataOutputFormatter": "includes/DataOutputFormatter.php",
-               "EchoDeferredMarkAsDeletedUpdate": 
"includes/DeferredMarkAsDeletedUpdate.php",
-               "EchoDiffGroup": "includes/DiffParser.php",
-               "EchoDiffParser": "includes/DiffParser.php",
-               "EchoDiffParserTest": "tests/phpunit/DiffParserTest.php",
-               "EchoDiscussionParser": "includes/DiscussionParser.php",
-               "EchoDiscussionParserTest": 
"tests/phpunit/DiscussionParserTest.php",
-               "EchoEditThresholdPresentationModel": 
"includes/formatters/EditThresholdPresentationModel.php",
-               "EchoEditUserTalkPresentationModel": 
"includes/formatters/EditUserTalkPresentationModel.php",
-               "EchoEmailFormat": "includes/EmailFormat.php",
-               "EchoEmailFrequency": "includes/EmailFrequency.php",
-               "EchoEmailUserPresentationModel": 
"includes/formatters/EmailUserPresentationModel.php",
-               "EchoEvent": "includes/model/Event.php",
-               "EchoEventDigestFormatter": 
"includes/formatters/EchoEventDigestFormatter.php",
-               "EchoEventFormatter": 
"includes/formatters/EchoEventFormatter.php",
-               "EchoEventMapper": "includes/mapper/EventMapper.php",
-               "EchoEventMapperTest": 
"tests/phpunit/mapper/EventMapperTest.php",
-               "EchoEventPresentationModel": 
"includes/formatters/EventPresentationModel.php",
-               "EchoExecuteFirstArgumentStub": 
"tests/phpunit/mapper/NotificationMapperTest.php",
-               "EchoFilteredSequentialIterator": 
"includes/iterator/FilteredSequentialIterator.php",
-               "EchoFlyoutFormatter": 
"includes/formatters/EchoFlyoutFormatter.php",
-               "EchoForeignNotifications": "includes/ForeignNotifications.php",
-               "EchoForeignPresentationModel": 
"includes/formatters/EchoForeignPresentationModel.php",
-               "EchoForeignWikiRequest": "includes/ForeignWikiRequest.php",
-               "EchoHooks": "Hooks.php",
-               "EchoHtmlDigestEmailFormatter": 
"includes/formatters/EchoHtmlDigestEmailFormatter.php",
-               "EchoHtmlEmailFormatter": 
"includes/formatters/EchoHtmlEmailFormatter.php",
-               "EchoIcon": "includes/formatters/EchoIcon.php",
-               "EchoIteratorDecorator": 
"includes/iterator/IteratorDecorator.php",
-               "EchoLocalCache": "includes/cache/LocalCache.php",
-               "EchoMentionPresentationModel": 
"includes/formatters/MentionPresentationModel.php",
-               "EchoMentionStatusPresentationModel": 
"includes/formatters/MentionStatusPresentationModel.php",
-               "EchoModelFormatter": 
"includes/formatters/EchoModelFormatter.php",
-               "EchoModerationController": 
"includes/controller/ModerationController.php",
-               "EchoMultipleIterator": 
"includes/iterator/MultipleIterator.php",
-               "EchoNotRecursiveIterator": 
"includes/iterator/NotRecursiveIterator.php",
-               "EchoNotification": "includes/model/Notification.php",
-               "EchoNotificationController": 
"includes/controller/NotificationController.php",
-               "EchoNotificationDeleteJob": 
"includes/jobs/NotificationDeleteJob.php",
-               "EchoNotificationJob": "includes/jobs/NotificationJob.php",
-               "EchoNotificationMapper": 
"includes/mapper/NotificationMapper.php",
-               "EchoNotificationMapperTest": 
"tests/phpunit/mapper/NotificationMapperTest.php",
-               "EchoNotificationTest": 
"tests/phpunit/model/NotificationTest.php",
-               "EchoNotifier": "includes/Notifier.php",
-               "EchoOOUI\\LabelIconWidget": 
"includes/ooui/LabelIconWidget.php",
-               "EchoOnWikiList": "includes/ContainmentSet.php",
-               "EchoPageLinkedPresentationModel": 
"includes/formatters/PageLinkedPresentationModel.php",
-               "EchoPlainTextDigestEmailFormatter": 
"includes/formatters/EchoPlainTextDigestEmailFormatter.php",
-               "EchoPlainTextEmailFormatter": 
"includes/formatters/EchoPlainTextEmailFormatter.php",
-               "EchoPresentationModelSectionTrait": 
"includes/formatters/PresentationModelSectionTrait.php",
-               "EchoRevertedPresentationModel": 
"includes/formatters/RevertedPresentationModel.php",
-               "EchoRevisionLocalCache": 
"includes/cache/RevisionLocalCache.php",
-               "EchoSeenTime": "includes/SeenTime.php",
-               "EchoSuppressionRowUpdateGenerator": 
"includes/schemaUpdate.php",
-               "EchoTalkPageFunctionalTest": 
"tests/phpunit/TalkPageFunctionalTest.php",
-               "EchoTargetPage": "includes/model/TargetPage.php",
-               "EchoTargetPageMapper": "includes/mapper/TargetPageMapper.php",
-               "EchoTargetPageMapperTest": 
"tests/phpunit/mapper/TargetPageMapperTest.php",
-               "EchoTargetPageTest": "tests/phpunit/model/TargetPageTest.php",
-               "EchoTitleLocalCache": "includes/cache/TitleLocalCache.php",
-               "EchoTitleLocalCacheTest": 
"tests/phpunit/cache/TitleLocalCacheTest.php",
-               "EchoUnreadWikis": "includes/UnreadWikis.php",
-               "EchoUserLocator": "includes/UserLocator.php",
-               "EchoUserLocatorTest": "tests/phpunit/UserLocatorTest.php",
-               "EchoUserNotificationGateway": 
"includes/gateway/UserNotificationGateway.php",
-               "EchoUserNotificationGatewayTest": 
"tests/phpunit/gateway/UserNotificationGatewayTest.php",
-               "EchoUserRightsPresentationModel": 
"includes/formatters/UserRightsPresentationModel.php",
-               "EchoWelcomePresentationModel": 
"includes/formatters/WelcomePresentationModel.php",
-               "FilteredSequentialIteratorTest": 
"tests/phpunit/iterator/FilteredSequentialIteratorTest.php",
-               "GenerateSampleNotifications": 
"maintenance/generateSampleNotifications.php",
-               "MWEchoDbFactory": "includes/EchoDbFactory.php",
-               "MWEchoDbFactoryTest": "tests/phpunit/EchoDbFactoryTest.php",
-               "MWEchoEmailBatch": "includes/EmailBatch.php",
-               "MWEchoEventLogging": "includes/EventLogging.php",
-               "MWEchoNotifUser": "includes/NotifUser.php",
-               "MWEchoNotifUserTest": "tests/phpunit/NotifUserTest.php",
-               "MWEchoThankYouEditTest": "tests/phpunit/ThankYouEditTest.php",
-               "NotificationControllerTest": 
"tests/phpunit/controller/NotificationControllerTest.php",
-               "NotificationPager": "includes/special/NotificationPager.php",
-               "NotificationsTest": "tests/NotificationsTest.php",
-               "ProcessEchoEmailBatch": 
"maintenance/processEchoEmailBatch.php",
-               "RemoveInvalidNotification": 
"maintenance/removeInvalidNotification.php",
-               "RemoveOrphanedEvents": "maintenance/removeOrphanedEvents.php",
-               "ResourceLoaderEchoImageModule": 
"includes/ResourceLoaderEchoImageModule.php",
-               "SpecialDisplayNotificationsConfiguration": 
"includes/special/SpecialDisplayNotificationsConfiguration.php",
-               "SpecialNotifications": 
"includes/special/SpecialNotifications.php",
-               "SpecialNotificationsFormatter": 
"includes/formatters/SpecialNotificationsFormatter.php",
-               "SpecialNotificationsMarkRead": 
"includes/special/SpecialNotificationsMarkRead.php",
-               "SuppressionMaintenanceTest": 
"tests/phpunit/maintenance/SupressionMaintenanceTest.php",
-               "TestDiscussionParser": "maintenance/testDiscussionParser.php",
-               "UpdateEchoSchemaForSuppression": 
"maintenance/updateEchoSchemaForSuppression.php"
-       },
        "ResourceModules": {
                "ext.echo.ui.desktop": {
                        "scripts": [
@@ -997,5 +879,123 @@
                        "merge_strategy": "array_plus_2d"
                }
        },
-       "manifest_version": 2
+       "manifest_version": 2,
+       "AutoloadClasses": {
+               "ApiCrossWikiBase": "includes/api/ApiCrossWikiBase.php",
+               "ApiEchoMarkRead": "includes/api/ApiEchoMarkRead.php",
+               "ApiEchoMarkReadTest": 
"tests/phpunit/api/ApiEchoMarkReadTest.php",
+               "ApiEchoMarkSeen": "includes/api/ApiEchoMarkSeen.php",
+               "ApiEchoNotifications": "includes/api/ApiEchoNotifications.php",
+               "ApiEchoNotificationsTest": 
"tests/phpunit/api/ApiEchoNotificationsTest.php",
+               "ApiEchoUnreadNotificationPages": 
"includes/api/ApiEchoUnreadNotificationPages.php",
+               "BackfillReadBundles": "maintenance/backfillReadBundles.php",
+               "BackfillUnreadWikis": "maintenance/backfillUnreadWikis.php",
+               "Bundleable": "includes/Bundleable.php",
+               "Bundler": "includes/Bundler.php",
+               "BundlerTest": "tests/phpunit/BundlerTest.php",
+               "ContainmentSetTest": "tests/phpunit/ContainmentSetTest.php",
+               "EchoAbstractEntity": "includes/model/AbstractEntity.php",
+               "EchoAbstractMapper": "includes/mapper/AbstractMapper.php",
+               "EchoAbstractMapperStub": 
"tests/phpunit/mapper/AbstractMapperTest.php",
+               "EchoAbstractMapperTest": 
"tests/phpunit/mapper/AbstractMapperTest.php",
+               "EchoArrayList": "includes/ContainmentSet.php",
+               "EchoAttributeManager": "includes/AttributeManager.php",
+               "EchoAttributeManagerTest": 
"tests/phpunit/AttributeManagerTest.php",
+               "EchoCachedList": "includes/ContainmentSet.php",
+               "EchoCallbackIterator": 
"includes/iterator/CallbackIterator.php",
+               "EchoCatchableFatalErrorException": 
"includes/exception/CatchableFatalErrorException.php",
+               "EchoContainmentList": "includes/ContainmentSet.php",
+               "EchoContainmentSet": "includes/ContainmentSet.php",
+               "EchoDataOutputFormatter": "includes/DataOutputFormatter.php",
+               "EchoDeferredMarkAsDeletedUpdate": 
"includes/DeferredMarkAsDeletedUpdate.php",
+               "EchoDiffGroup": "includes/DiffParser.php",
+               "EchoDiffParser": "includes/DiffParser.php",
+               "EchoDiffParserTest": "tests/phpunit/DiffParserTest.php",
+               "EchoDiscussionParser": "includes/DiscussionParser.php",
+               "EchoDiscussionParserTest": 
"tests/phpunit/DiscussionParserTest.php",
+               "EchoEditThresholdPresentationModel": 
"includes/formatters/EditThresholdPresentationModel.php",
+               "EchoEditUserTalkPresentationModel": 
"includes/formatters/EditUserTalkPresentationModel.php",
+               "EchoEmailFormat": "includes/EmailFormat.php",
+               "EchoEmailFrequency": "includes/EmailFrequency.php",
+               "EchoEmailUserPresentationModel": 
"includes/formatters/EmailUserPresentationModel.php",
+               "EchoEvent": "includes/model/Event.php",
+               "EchoEventDigestFormatter": 
"includes/formatters/EchoEventDigestFormatter.php",
+               "EchoEventFormatter": 
"includes/formatters/EchoEventFormatter.php",
+               "EchoEventMapper": "includes/mapper/EventMapper.php",
+               "EchoEventMapperTest": 
"tests/phpunit/mapper/EventMapperTest.php",
+               "EchoEventPresentationModel": 
"includes/formatters/EventPresentationModel.php",
+               "EchoExecuteFirstArgumentStub": 
"tests/phpunit/mapper/NotificationMapperTest.php",
+               "EchoFilteredSequentialIterator": 
"includes/iterator/FilteredSequentialIterator.php",
+               "EchoFlyoutFormatter": 
"includes/formatters/EchoFlyoutFormatter.php",
+               "EchoForeignNotifications": "includes/ForeignNotifications.php",
+               "EchoForeignPresentationModel": 
"includes/formatters/EchoForeignPresentationModel.php",
+               "EchoForeignWikiRequest": "includes/ForeignWikiRequest.php",
+               "EchoHooks": "Hooks.php",
+               "EchoHtmlDigestEmailFormatter": 
"includes/formatters/EchoHtmlDigestEmailFormatter.php",
+               "EchoHtmlEmailFormatter": 
"includes/formatters/EchoHtmlEmailFormatter.php",
+               "EchoIcon": "includes/formatters/EchoIcon.php",
+               "EchoIteratorDecorator": 
"includes/iterator/IteratorDecorator.php",
+               "EchoLocalCache": "includes/cache/LocalCache.php",
+               "EchoMentionPresentationModel": 
"includes/formatters/MentionPresentationModel.php",
+               "EchoMentionStatusPresentationModel": 
"includes/formatters/MentionStatusPresentationModel.php",
+               "EchoModelFormatter": 
"includes/formatters/EchoModelFormatter.php",
+               "EchoModerationController": 
"includes/controller/ModerationController.php",
+               "EchoMultipleIterator": 
"includes/iterator/MultipleIterator.php",
+               "EchoNotRecursiveIterator": 
"includes/iterator/NotRecursiveIterator.php",
+               "EchoNotification": "includes/model/Notification.php",
+               "EchoNotificationController": 
"includes/controller/NotificationController.php",
+               "EchoNotificationDeleteJob": 
"includes/jobs/NotificationDeleteJob.php",
+               "EchoNotificationJob": "includes/jobs/NotificationJob.php",
+               "EchoNotificationMapper": 
"includes/mapper/NotificationMapper.php",
+               "EchoNotificationMapperTest": 
"tests/phpunit/mapper/NotificationMapperTest.php",
+               "EchoNotificationTest": 
"tests/phpunit/model/NotificationTest.php",
+               "EchoNotifier": "includes/Notifier.php",
+               "EchoOOUI\\LabelIconWidget": 
"includes/ooui/LabelIconWidget.php",
+               "EchoOnWikiList": "includes/ContainmentSet.php",
+               "EchoPageLinkedPresentationModel": 
"includes/formatters/PageLinkedPresentationModel.php",
+               "EchoPlainTextDigestEmailFormatter": 
"includes/formatters/EchoPlainTextDigestEmailFormatter.php",
+               "EchoPlainTextEmailFormatter": 
"includes/formatters/EchoPlainTextEmailFormatter.php",
+               "EchoPresentationModelSectionTrait": 
"includes/formatters/PresentationModelSectionTrait.php",
+               "EchoRevertedPresentationModel": 
"includes/formatters/RevertedPresentationModel.php",
+               "EchoRevisionLocalCache": 
"includes/cache/RevisionLocalCache.php",
+               "EchoSeenTime": "includes/SeenTime.php",
+               "EchoSuppressionRowUpdateGenerator": 
"includes/schemaUpdate.php",
+               "EchoTalkPageFunctionalTest": 
"tests/phpunit/TalkPageFunctionalTest.php",
+               "EchoTargetPage": "includes/model/TargetPage.php",
+               "EchoTargetPageMapper": "includes/mapper/TargetPageMapper.php",
+               "EchoTargetPageMapperTest": 
"tests/phpunit/mapper/TargetPageMapperTest.php",
+               "EchoTargetPageTest": "tests/phpunit/model/TargetPageTest.php",
+               "EchoTitleLocalCache": "includes/cache/TitleLocalCache.php",
+               "EchoTitleLocalCacheTest": 
"tests/phpunit/cache/TitleLocalCacheTest.php",
+               "EchoUnreadWikis": "includes/UnreadWikis.php",
+               "EchoUserLocator": "includes/UserLocator.php",
+               "EchoUserLocatorTest": "tests/phpunit/UserLocatorTest.php",
+               "EchoUserNotificationGateway": 
"includes/gateway/UserNotificationGateway.php",
+               "EchoUserNotificationGatewayTest": 
"tests/phpunit/gateway/UserNotificationGatewayTest.php",
+               "EchoUserRightsPresentationModel": 
"includes/formatters/UserRightsPresentationModel.php",
+               "EchoWelcomePresentationModel": 
"includes/formatters/WelcomePresentationModel.php",
+               "FilteredSequentialIteratorTest": 
"tests/phpunit/iterator/FilteredSequentialIteratorTest.php",
+               "GenerateSampleNotifications": 
"maintenance/generateSampleNotifications.php",
+               "MWEchoDbFactory": "includes/EchoDbFactory.php",
+               "MWEchoDbFactoryTest": "tests/phpunit/EchoDbFactoryTest.php",
+               "MWEchoEmailBatch": "includes/EmailBatch.php",
+               "MWEchoEventLogging": "includes/EventLogging.php",
+               "MWEchoNotifUser": "includes/NotifUser.php",
+               "MWEchoNotifUserTest": "tests/phpunit/NotifUserTest.php",
+               "MWEchoThankYouEditTest": "tests/phpunit/ThankYouEditTest.php",
+               "NotificationControllerTest": 
"tests/phpunit/controller/NotificationControllerTest.php",
+               "NotificationPager": "includes/special/NotificationPager.php",
+               "NotificationsTest": "tests/NotificationsTest.php",
+               "ProcessEchoEmailBatch": 
"maintenance/processEchoEmailBatch.php",
+               "RemoveInvalidNotification": 
"maintenance/removeInvalidNotification.php",
+               "RemoveOrphanedEvents": "maintenance/removeOrphanedEvents.php",
+               "ResourceLoaderEchoImageModule": 
"includes/ResourceLoaderEchoImageModule.php",
+               "SpecialDisplayNotificationsConfiguration": 
"includes/special/SpecialDisplayNotificationsConfiguration.php",
+               "SpecialNotifications": 
"includes/special/SpecialNotifications.php",
+               "SpecialNotificationsFormatter": 
"includes/formatters/SpecialNotificationsFormatter.php",
+               "SpecialNotificationsMarkRead": 
"includes/special/SpecialNotificationsMarkRead.php",
+               "SuppressionMaintenanceTest": 
"tests/phpunit/maintenance/SupressionMaintenanceTest.php",
+               "TestDiscussionParser": "maintenance/testDiscussionParser.php",
+               "UpdateEchoSchemaForSuppression": 
"maintenance/updateEchoSchemaForSuppression.php"
+       }
 }
diff --git a/scripts/gen-autoload.php b/scripts/gen-autoload.php
index dd7229f..d6be161 100644
--- a/scripts/gen-autoload.php
+++ b/scripts/gen-autoload.php
@@ -12,6 +12,7 @@
 
 class GenerateEchoAutoload extends Maintenance {
        public function __construct() {
+               parent::__construct();
                $this->mDescription = 'Generates Echo autoload data';
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I60cd1b745bf3b399b6709c2a3036fff590401e35
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to