2015-02-20 23:43:08 +00:00
|
|
|
{
|
|
|
|
"name": "TemplateData",
|
2017-12-18 20:57:57 +00:00
|
|
|
"version": "0.1.2",
|
2015-02-20 23:43:08 +00:00
|
|
|
"author": [
|
|
|
|
"Timo Tijhof",
|
|
|
|
"Moriel Schottlender",
|
|
|
|
"James D. Forrester",
|
|
|
|
"Trevor Parscal",
|
|
|
|
"Bartosz Dziewoński",
|
|
|
|
"Marielle Volz",
|
|
|
|
"..."
|
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:TemplateData",
|
|
|
|
"descriptionmsg": "templatedata-desc",
|
2018-03-02 23:40:38 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-02-20 23:43:08 +00:00
|
|
|
"type": "parserhook",
|
2015-10-30 00:02:04 +00:00
|
|
|
"requires": {
|
2023-03-13 23:50:04 +00:00
|
|
|
"MediaWiki": ">= 1.39.0"
|
2015-10-30 00:02:04 +00:00
|
|
|
},
|
2015-02-20 23:43:08 +00:00
|
|
|
"APIModules": {
|
2021-11-25 21:35:46 +00:00
|
|
|
"templatedata": "MediaWiki\\Extension\\TemplateData\\Api\\ApiTemplateData"
|
2015-02-20 23:43:08 +00:00
|
|
|
},
|
2021-11-25 21:35:46 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\TemplateData\\": "includes/"
|
2015-05-29 19:35:35 +00:00
|
|
|
},
|
2015-02-20 23:43:08 +00:00
|
|
|
"Hooks": {
|
2021-11-25 21:35:46 +00:00
|
|
|
"EditPage::showEditForm:fields": "MediaWiki\\Extension\\TemplateData\\Hooks::onEditPageShowEditFormFields",
|
|
|
|
"ParserFirstCallInit": "MediaWiki\\Extension\\TemplateData\\Hooks::onParserFirstCallInit",
|
|
|
|
"MultiContentSave": "MediaWiki\\Extension\\TemplateData\\Hooks::onMultiContentSave",
|
|
|
|
"ResourceLoaderRegisterModules": "MediaWiki\\Extension\\TemplateData\\Hooks::onResourceLoaderRegisterModules",
|
|
|
|
"EditPage::showEditForm:initial": "MediaWiki\\Extension\\TemplateData\\Hooks::onEditPage",
|
2022-06-27 10:11:31 +00:00
|
|
|
"ParserFetchTemplateData": "MediaWiki\\Extension\\TemplateData\\Hooks::onParserFetchTemplateData"
|
2015-02-20 23:43:08 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"TemplateData": [
|
2018-12-03 20:21:13 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-02-20 23:43:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ResourceModules": {
|
|
|
|
"ext.templateData": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"localBasePath": "modules/ext.templateData",
|
|
|
|
"remoteExtPath": "TemplateData/modules/ext.templateData",
|
2022-08-08 09:22:55 +00:00
|
|
|
"styles": "templateData.less"
|
2015-02-20 23:43:08 +00:00
|
|
|
},
|
|
|
|
"ext.templateDataGenerator.editPage": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"localBasePath": "modules/ext.templateDataGenerator.editPage",
|
|
|
|
"remoteExtPath": "TemplateData/modules/ext.templateDataGenerator.editPage",
|
2020-12-02 09:10:47 +00:00
|
|
|
"packageFiles": [
|
2020-03-12 18:18:02 +00:00
|
|
|
"init.js"
|
2018-11-14 14:48:56 +00:00
|
|
|
]
|
|
|
|
},
|
2015-02-20 23:43:08 +00:00
|
|
|
"ext.templateDataGenerator.data": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"localBasePath": "modules/ext.templateDataGenerator.data",
|
|
|
|
"remoteExtPath": "TemplateData/modules/ext.templateDataGenerator.data",
|
2020-12-02 10:04:52 +00:00
|
|
|
"packageFiles": [
|
|
|
|
"init.js",
|
2020-03-12 18:18:02 +00:00
|
|
|
"Model.js",
|
|
|
|
"SourceHandler.js"
|
2015-02-20 23:43:08 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"oojs"
|
|
|
|
]
|
|
|
|
},
|
2022-04-21 13:55:43 +00:00
|
|
|
"ext.templateDataGenerator.editTemplatePage.loading": {
|
|
|
|
"localBasePath": "modules/ext.templateDataGenerator.editTemplatePage",
|
|
|
|
"remoteExtPath": "TemplateData/modules/ext.templateDataGenerator.editTemplatePage",
|
2022-08-08 09:22:55 +00:00
|
|
|
"styles": "templateDataGenerator.placeholder.less"
|
2022-04-21 13:55:43 +00:00
|
|
|
},
|
2019-09-12 22:19:49 +00:00
|
|
|
"ext.templateDataGenerator.editTemplatePage": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"localBasePath": "modules/ext.templateDataGenerator.editTemplatePage",
|
|
|
|
"remoteExtPath": "TemplateData/modules/ext.templateDataGenerator.editTemplatePage",
|
2022-08-08 09:22:55 +00:00
|
|
|
"styles": "templateDataGenerator.ui.less",
|
2020-12-02 09:54:38 +00:00
|
|
|
"packageFiles": [
|
|
|
|
"init.js",
|
2021-02-08 13:01:48 +00:00
|
|
|
"widgets/AutosizeTextInputWidget.js",
|
2020-03-12 18:18:02 +00:00
|
|
|
"widgets/ParamSelectWidget.js",
|
|
|
|
"widgets/ParamWidget.js",
|
|
|
|
"widgets/ParamImportWidget.js",
|
|
|
|
"widgets/LanguageResultWidget.js",
|
|
|
|
"widgets/LanguageSearchWidget.js",
|
|
|
|
"Dialog.js",
|
2020-12-02 14:38:24 +00:00
|
|
|
"Metrics.js",
|
2020-12-02 09:54:38 +00:00
|
|
|
"Target.js"
|
2015-02-20 23:43:08 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
2019-09-12 22:19:49 +00:00
|
|
|
"mediawiki.api",
|
2016-09-01 21:14:36 +00:00
|
|
|
"oojs-ui-core",
|
|
|
|
"oojs-ui-widgets",
|
|
|
|
"oojs-ui-windows",
|
2017-06-03 10:49:41 +00:00
|
|
|
"oojs-ui.styles.icons-layout",
|
|
|
|
"oojs-ui.styles.icons-interactions",
|
2020-09-18 13:53:40 +00:00
|
|
|
"oojs-ui.styles.icons-moderation",
|
2016-01-13 05:04:02 +00:00
|
|
|
"ext.templateData",
|
2017-05-10 01:45:33 +00:00
|
|
|
"ext.templateData.images",
|
2015-02-20 23:43:08 +00:00
|
|
|
"ext.templateDataGenerator.data",
|
2016-12-06 11:53:13 +00:00
|
|
|
"jquery.uls.data",
|
2019-09-13 02:10:38 +00:00
|
|
|
"jquery.textSelection"
|
2015-02-20 23:43:08 +00:00
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
"comma-separator",
|
|
|
|
"templatedata-doc-no-params-set",
|
2016-01-13 19:29:05 +00:00
|
|
|
"templatedata-doc-param-type-boolean",
|
|
|
|
"templatedata-doc-param-type-content",
|
|
|
|
"templatedata-doc-param-type-date",
|
|
|
|
"templatedata-doc-param-type-line",
|
|
|
|
"templatedata-doc-param-type-number",
|
|
|
|
"templatedata-doc-param-type-string",
|
|
|
|
"templatedata-doc-param-type-unbalanced-wikitext",
|
|
|
|
"templatedata-doc-param-type-unknown",
|
|
|
|
"templatedata-doc-param-type-url",
|
|
|
|
"templatedata-doc-param-type-wiki-file-name",
|
|
|
|
"templatedata-doc-param-type-wiki-page-name",
|
|
|
|
"templatedata-doc-param-type-wiki-template-name",
|
|
|
|
"templatedata-doc-param-type-wiki-user-name",
|
2015-09-10 21:40:22 +00:00
|
|
|
"templatedata-editbutton",
|
|
|
|
"templatedata-errormsg-jsonbadformat",
|
2016-07-12 22:40:46 +00:00
|
|
|
"templatedata-errormsg-insertblank",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-exists-on-related-page",
|
|
|
|
"templatedata-modal-button-add-language",
|
|
|
|
"templatedata-modal-button-addparam",
|
2020-08-07 18:27:18 +00:00
|
|
|
"templatedata-modal-button-addmap",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-button-apply",
|
|
|
|
"templatedata-modal-button-back",
|
|
|
|
"templatedata-modal-button-cancel",
|
|
|
|
"templatedata-modal-button-changelang",
|
|
|
|
"templatedata-modal-button-delparam",
|
2015-09-14 11:25:22 +00:00
|
|
|
"templatedata-modal-button-done",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-button-importParams",
|
2020-06-11 15:33:52 +00:00
|
|
|
"templatedata-modal-button-map",
|
2020-08-07 18:27:18 +00:00
|
|
|
"templatedata-modal-button-removemap",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-button-restoreparam",
|
|
|
|
"templatedata-modal-button-saveparam",
|
2016-01-11 23:26:54 +00:00
|
|
|
"templatedata-modal-confirmcancel",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-current-language",
|
|
|
|
"templatedata-modal-errormsg",
|
2018-02-01 18:22:41 +00:00
|
|
|
"templatedata-modal-errormsg-duplicate-name",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-errormsg-import-noparams",
|
2015-10-02 10:34:57 +00:00
|
|
|
"templatedata-modal-format-block",
|
2016-08-07 01:03:53 +00:00
|
|
|
"templatedata-modal-format-custom",
|
|
|
|
"templatedata-modal-format-inline",
|
2016-03-01 17:10:23 +00:00
|
|
|
"templatedata-modal-format-null",
|
2016-08-07 01:03:53 +00:00
|
|
|
"templatedata-modal-format-placeholder",
|
2015-05-29 19:35:35 +00:00
|
|
|
"templatedata-modal-json-error-replace",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-notice-import-numparams",
|
2020-08-07 18:27:18 +00:00
|
|
|
"templatedata-modal-placeholder-add-new-map-input",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-placeholder-paramkey",
|
|
|
|
"templatedata-modal-search-input-placeholder",
|
2020-06-11 15:33:52 +00:00
|
|
|
"templatedata-modal-placeholder-mapinfo",
|
2020-08-07 18:27:18 +00:00
|
|
|
"templatedata-modal-placeholder-prompt-map-name",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-table-param-actions",
|
|
|
|
"templatedata-modal-table-param-aliases",
|
|
|
|
"templatedata-modal-table-param-autovalue",
|
2021-03-10 10:54:52 +00:00
|
|
|
"templatedata-modal-table-param-suggestedvalues",
|
|
|
|
"templatedata-modal-table-param-suggestedvalues-placeholder",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-table-param-default",
|
|
|
|
"templatedata-modal-table-param-deprecated",
|
2015-05-29 19:35:35 +00:00
|
|
|
"templatedata-modal-table-param-deprecatedValue",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-table-param-description",
|
2015-05-29 19:35:35 +00:00
|
|
|
"templatedata-modal-table-param-example",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-table-param-importoption",
|
|
|
|
"templatedata-modal-table-param-importoption-subtitle",
|
|
|
|
"templatedata-modal-table-param-label",
|
|
|
|
"templatedata-modal-table-param-name",
|
|
|
|
"templatedata-modal-table-param-required",
|
|
|
|
"templatedata-modal-table-param-suggested",
|
|
|
|
"templatedata-modal-table-param-type",
|
|
|
|
"templatedata-modal-table-param-uneditablefield",
|
|
|
|
"templatedata-modal-title",
|
|
|
|
"templatedata-modal-title-addparam",
|
|
|
|
"templatedata-modal-title-choose-language",
|
|
|
|
"templatedata-modal-title-language",
|
|
|
|
"templatedata-modal-title-paramorder",
|
|
|
|
"templatedata-modal-title-templatedesc",
|
2015-10-02 10:34:57 +00:00
|
|
|
"templatedata-modal-title-templateformat",
|
2016-08-07 01:03:53 +00:00
|
|
|
"templatedata-modal-title-templateformatstring",
|
2015-02-20 23:43:08 +00:00
|
|
|
"templatedata-modal-title-templateparam-details",
|
2015-09-10 21:40:22 +00:00
|
|
|
"templatedata-modal-title-templateparams",
|
|
|
|
"templatedata-helplink",
|
|
|
|
"templatedata-helplink-target"
|
2015-02-20 23:43:08 +00:00
|
|
|
]
|
2016-12-06 11:53:13 +00:00
|
|
|
},
|
|
|
|
"ext.templateData.images": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"localBasePath": "modules/ext.templateData.images",
|
2016-12-06 11:53:13 +00:00
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selectorWithVariant": ".oo-ui-icon-{name}.oo-ui-image-invert",
|
|
|
|
"selectorWithoutVariant": ".oo-ui-icon-{name}",
|
|
|
|
"variants": {
|
|
|
|
"invert": {
|
|
|
|
"color": "#FFFFFF",
|
|
|
|
"global": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"images": {
|
|
|
|
"template-format-block": {
|
|
|
|
"file": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"ltr": "block-rtl.svg",
|
|
|
|
"rtl": "block-ltr.svg"
|
2016-12-06 11:53:13 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"template-format-inline": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"file": "inline.svg"
|
2019-09-13 02:10:38 +00:00
|
|
|
},
|
2016-12-06 11:53:13 +00:00
|
|
|
"parameter-set": {
|
|
|
|
"file": {
|
2020-03-12 18:18:02 +00:00
|
|
|
"ltr": "parameter-set-ltr.svg",
|
|
|
|
"rtl": "parameter-set-rtl.svg"
|
2016-12-06 11:53:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-02-20 23:43:08 +00:00
|
|
|
}
|
|
|
|
},
|
2020-05-11 21:25:42 +00:00
|
|
|
"QUnitTestModule": {
|
2020-05-11 19:42:55 +00:00
|
|
|
"localBasePath": "tests/qunit",
|
|
|
|
"remoteExtPath": "TemplateData/tests/qunit",
|
|
|
|
"scripts": [
|
|
|
|
"ext.templateData.tests.js"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.templateDataGenerator.data"
|
|
|
|
]
|
|
|
|
},
|
2020-05-12 01:05:21 +00:00
|
|
|
"attributes": {
|
2020-12-02 14:38:24 +00:00
|
|
|
"EventLogging": {
|
|
|
|
"Schemas": {
|
2021-02-24 15:52:55 +00:00
|
|
|
"TemplateDataEditor": "/analytics/legacy/templatedataeditor/1.0.0",
|
|
|
|
"TemplateDataApi": "/analytics/legacy/templatedataapi/1.0.0"
|
2020-12-02 14:38:24 +00:00
|
|
|
}
|
|
|
|
},
|
2020-05-12 01:05:21 +00:00
|
|
|
"VisualEditor": {
|
|
|
|
"PluginModules": [
|
|
|
|
"ext.templateDataGenerator.editPage"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2015-05-29 19:35:35 +00:00
|
|
|
"config": {
|
2020-05-12 01:05:21 +00:00
|
|
|
"TemplateDataUseGUI": {
|
|
|
|
"value": true
|
|
|
|
}
|
2015-05-29 19:35:35 +00:00
|
|
|
},
|
2020-05-12 01:05:21 +00:00
|
|
|
"manifest_version": 2
|
2015-02-20 23:43:08 +00:00
|
|
|
}
|