Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/194014

Change subject: Add extension.json
......................................................................

Add extension.json

$wgBetaFeatures should probably become an attribute (or just removed outright,
I see no uses of it...) but that can be done in a follow up.

Bug: T87884
Change-Id: Iec1be9b150ec426a1a4f0a544a1b089b1419c0cf
---
A extension.json
1 file changed, 110 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BetaFeatures 
refs/changes/14/194014/1

diff --git a/extension.json b/extension.json
new file mode 100644
index 0000000..b6b4560
--- /dev/null
+++ b/extension.json
@@ -0,0 +1,110 @@
+{
+       "name": "BetaFeatures",
+       "version": "0.1",
+       "author": [
+               "MarkTraceur (Mark Holmquist)"
+       ],
+       "url": "https://www.mediawiki.org/wiki/Extension:BetaFeatures";,
+       "descriptionmsg": "betafeatures-desc",
+       "license-name": "GPL-2.0+",
+       "type": "other",
+       "config": {
+               "BetaFeaturesWhitelist": null,
+               "BetaFeatures": []
+       },
+       "ExtensionMessagesFiles": {
+               "BetaFeaturesAlias": "BetaFeatures.alias.php"
+       },
+       "APIListModules": {
+               "betafeatures": "ApiQueryBetaFeatures"
+       },
+       "Hooks": {
+               "UserSaveOptions": [
+                       "BetaFeaturesHooks::updateUserCounts"
+               ],
+               "GetPreferences": [
+                       "BetaFeaturesHooks::getPreferences"
+               ],
+               "PersonalUrls": [
+                       "BetaFeaturesHooks::getBetaFeaturesLink"
+               ],
+               "UnitTestsList": [
+                       "BetaFeaturesHooks::getUnitTestsList"
+               ],
+               "LoadExtensionSchemaUpdates": [
+                       "BetaFeaturesHooks::getSchemaUpdates"
+               ],
+               "MakeGlobalVariablesScript": [
+                       "BetaFeaturesHooks::onMakeGlobalVariablesScript"
+               ],
+               "ExtensionTypes": [
+                       "BetaFeaturesHooks::onExtensionTypes"
+               ]
+       },
+       "MessagesDirs": {
+               "BetaFeatures": [
+                       "i18n"
+               ]
+       },
+       "ResourceModules": {
+               "ext.betaFeatures": {
+                       "scripts": [
+                               "betafeatures.js"
+                       ],
+                       "styles": [
+                               "betafeatures.less"
+                       ],
+                       "dependencies": [
+                               "jquery.client"
+                       ],
+                       "targets": [
+                               "mobile",
+                               "desktop"
+                       ]
+               },
+               "ext.betaFeatures.styles": {
+                       "styles": [
+                               "betafeatures.nojs.less"
+                       ],
+                       "targets": [
+                               "mobile",
+                               "desktop"
+                       ],
+                       "position": "top"
+               },
+               "ext.betaFeatures.popup": {
+                       "scripts": [
+                               "ext.betaFeatures.popup.js"
+                       ],
+                       "dependencies": [
+                               "jquery.tipsy"
+                       ],
+                       "messages": [
+                               "betafeatures-tooltip"
+                       ]
+               }
+       },
+       "ResourceFileModulePaths": {
+               "localBasePath": "resources",
+               "remoteExtPath": "BetaFeatures/resources"
+       },
+       "JobClasses": {
+               "updateBetaFeaturesUserCounts": "UpdateBetaFeatureUserCountsJob"
+       },
+       "SpecialPages": {
+               "BetaFeatures": "SpecialBetaFeatures"
+       },
+       "AutoloadClasses": {
+               "BetaFeaturesHooks": "BetaFeaturesHooks.php",
+               "BetaFeaturesMissingFieldException": "BetaFeaturesHooks.php",
+               "NewHTMLCheckField": "includes/NewHTMLCheckField.php",
+               "HTMLFeatureField": "includes/HTMLFeatureField.php",
+               "HTMLTextBlockField": "includes/HTMLTextBlockField.php",
+               "HTMLHorizontalRuleField": 
"includes/HTMLHorizontalRuleField.php",
+               "BetaFeatures": "includes/BetaFeaturesUtil.php",
+               "UpdateBetaFeatureUserCountsJob": 
"includes/UpdateBetaFeatureUserCountsJob.php",
+               "ApiQueryBetaFeatures": "includes/ApiListBetaFeatures.php",
+               "SpecialBetaFeatures": "includes/SpecialBetaFeatures.php",
+               "BetaFeaturesTestCase": "tests/BetaFeaturesTestCase.php"
+       }
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec1be9b150ec426a1a4f0a544a1b089b1419c0cf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BetaFeatures
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to