Prtksxna has uploaded a new change for review. https://gerrit.wikimedia.org/r/222266
Change subject: Add extension.json ...................................................................... Add extension.json Bug: T87961 Change-Id: I52e93fd290b1e5d8438467896a159fc7230c5813 --- M Popups.php A extension.json 2 files changed, 51 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups refs/changes/66/222266/1 diff --git a/Popups.php b/Popups.php index e2a9312..17be912 100644 --- a/Popups.php +++ b/Popups.php @@ -24,6 +24,10 @@ * @ingroup extensions */ +/** + * This PHP entry point is deprecated. Please use wfLoadExtension() and the extension.json file instead. + * See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details. + */ $wgExtensionCredits['betafeatures'][] = array( 'author' => array( 'Prateek Saxena', 'Yair Rand' ), 'descriptionmsg' => 'popups-desc', diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..5207a89 --- /dev/null +++ b/extension.json @@ -0,0 +1,47 @@ +{ + "name": "Popups", + "author": [ + "Prateek Saxena", + "Yair Rand" + ], + "url": "https://www.mediawiki.org/wiki/Extension:Popups", + "descriptionmsg": "popups-desc", + "license-name": "GPL-2.0+", + "type": "betafeatures", + "AutoloadClasses": { + "PopupsHooks": "Popups.hooks.php" + }, + "ConfigRegistry": { + "popups": "GlobalVarConfig::newInstance" + }, + "Hooks": { + "GetBetaFeaturePreferences": [ + "PopupsHooks::getPreferences" + ], + "BeforePageDisplay": [ + "PopupsHooks::onBeforePageDisplay" + ], + "ResourceLoaderTestModules": [ + "PopupsHooks::onResourceLoaderTestModules" + ], + "EventLoggingRegisterSchemas": [ + "PopupsHooks::onEventLoggingRegisterSchemas" + ], + "ResourceLoaderRegisterModules": [ + "PopupsHooks::onResourceLoaderRegisterModules" + ], + "ResourceLoaderGetConfigVars": [ + "PopupsHooks::onResourceLoaderGetConfigVars" + ] + }, + "MessagesDirs": { + "Popups": [ + "i18n" + ] + }, + "config": { + "PopupsBetaFeature": false, + "PopupsSurveyLink": false + }, + "manifest_version": 1 +} -- To view, visit https://gerrit.wikimedia.org/r/222266 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I52e93fd290b1e5d8438467896a159fc7230c5813 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Popups Gerrit-Branch: master Gerrit-Owner: Prtksxna <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
