From 34d9ecf87622a81335933195d7214093242f572f Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 26 Jun 2017 11:03:04 -0700 Subject: [PATCH] Follow-up 2dfb4511e9: call parent constructor in gen-autoload.php And also actually run the script. Change-Id: I60cd1b745bf3b399b6709c2a3036fff590401e35 --- extension.json | 238 +++++++++++++++++++-------------------- scripts/gen-autoload.php | 1 + 2 files changed, 120 insertions(+), 119 deletions(-) diff --git a/extension.json b/extension.json index 1ed6285de..e3f9e7f87 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 dd7229ffd..d6be1612e 100644 --- a/scripts/gen-autoload.php +++ b/scripts/gen-autoload.php @@ -12,6 +12,7 @@ require_once getenv( 'MW_INSTALL_PATH' ) !== false class GenerateEchoAutoload extends Maintenance { public function __construct() { + parent::__construct(); $this->mDescription = 'Generates Echo autoload data'; }