mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-24 07:23:30 +00:00
7793a9475f
Gadgets can mark themselves as ES6-only by specifying the requiresES6 boolean attribute. Syntax validation is disabled for them (as the validator doesn't support ES6 yet), and they are loaded together in a separate request. The minifier doesn't reject syntax errors, and thus these would be passed through to web clients. Hence, communities using this feature are encouraged to use ESLint or another linter to make sure only valid ES <= 6 code is being used. Because of the above, this feature is only made available for non-default gadgets. Bug: T75714 Change-Id: Ib98ac0700471554d5721d7ab858d4660e1e0e980
61 lines
4.9 KiB
JSON
61 lines
4.9 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"EugeneZelenko",
|
|
"Jon Harald Søby",
|
|
"Kghbln",
|
|
"Liuxinyu970226",
|
|
"Lloffiwr",
|
|
"Mormegil",
|
|
"Nike",
|
|
"Pikne",
|
|
"Purodha",
|
|
"Robby",
|
|
"SPQRobin",
|
|
"Shirayuki",
|
|
"Siebrand",
|
|
"The Evil IP address",
|
|
"Umherirrender"
|
|
]
|
|
},
|
|
"gadgets-desc": "{{desc|name=Gadgets|url=https://www.mediawiki.org/wiki/Extension:Gadgets}}",
|
|
"prefs-gadgets": "In Gadgets extension. The name of a tab in [[Special:Preferences#mw-prefsection-gadgets|Special:Preferences]] where user set their preferences for the extension.\n\n{{Identical|Gadgets}}",
|
|
"prefs-description-gadgets": "Used in [[Special:Preferences]] for mobile to describe the Gadgets features section.",
|
|
"gadgets-prefstext": "In Gadgets extension. This is the explanation text displayed under the Gadgets tab in [[Special:Preferences#mw-prefsection-gadgets|Special:Preferences]].",
|
|
"gadgets": "{{doc-special|Gadgets}}\n{{Identical|Gadgets}}",
|
|
"gadgetusage": "{{doc-special|Gadget usage statistics}}",
|
|
"gadgetusage-gadget": "Table column header on [[Special:GadgetUsage]]\n{{Identical|Gadget}}",
|
|
"gadgetusage-usercount": "Table column header on [[Special:GadgetUsage]]",
|
|
"gadgetusage-noresults": "Message shown to user when no gadgets found installed on the wiki. Used on [[Special:GadgetUsage]]",
|
|
"gadgetusage-intro": "Intro text on [[Special:GadgetUsage]] Parameter:\n* $1 - the number of days to consider for defining a user as active",
|
|
"gadgetusage-intro-noactive": "Intro text on [[Special:GadgetUsage]]",
|
|
"gadgetusage-activeusers": "Table column header for active users using a gadget",
|
|
"gadgetusage-default": "Message to indicate the gadget is default and actual stats are not available\n{{Identical|Default}}",
|
|
"gadgets-definition": "{{notranslate}}",
|
|
"gadgets-title": "{{Identical|Gadgets}}",
|
|
"gadgets-pagetext": "Used as intro text in [[Special:Gadgets]].",
|
|
"gadgets-editdescription": "Link for editing the gadget description shown in Special:Preferences. Used on [[Special:Gadgets]].",
|
|
"gadgets-viewdescription": "Link for viewing the gadget description shown in Special:Preferences. Used on [[Special:Gadgets]] instead of {{msg-mw|Gadgets-editdescription}} when the user does not have permissions to edit.",
|
|
"gadgets-uses": "This is used as a verb in third-person singular. It appears in front of a script name. Example: \"''Uses: Gadget-UTCLiveClock.js''\"\n\nSee [[meta:Special:Gadgets|Gadgets page in meta.wikimedia.org]]\n{{Identical|Use}}",
|
|
"gadgets-required-rights": "Parameters:\n* $1 - a list in wikitext.\n* $2 - the number of items in list $1 for PLURAL use.",
|
|
"gadgets-required-skins": "Parameters:\n* $1 - a comma separated list.\n* $2 - the number of items in list $1 for PLURAL use.",
|
|
"gadgets-required-actions": "Parameters:\n* $1 - a comma separated list.\n* $2 - the number of items in list $1 for PLURAL use.",
|
|
"gadgets-default": "Used in [[Special:Gadgets]], if the gadget is enabled for everyone by the Wiki's default settings.",
|
|
"gadgets-legacy": "Used on [[Special:Gadgets]], if the gadget contains legacy scripts and doesn't use ResourceLoader yet.",
|
|
"gadgets-packaged": "Used on [[Special:Gadgets]], if the gadget is [https://www.mediawiki.org/wiki/ResourceLoader/Package_files packaged]. Parameters:\n* $1 - script file which is the entry point",
|
|
"gadgets-export": "Used on [[Special:Gadgets]]. This is a verb, not noun.\n{{Identical|Export}}",
|
|
"gadgets-export-title": "Used as page title. Example: [[Special:Gadgets/export/editbuttons]]",
|
|
"gadgets-not-found": "Used as error message. Parameters:\n* $1 - gadget name",
|
|
"gadgets-export-text": "Used as page description in [[Special:Gadgets]].\n\nRefers to {{msg-mw|Gadgets-export-download}}.\n\nSee example: [[Special:Gadgets/export/editbuttons]]\n\nFollowed by the \"Export\" form.\n\nParameters:\n* $1 - gadget name\n* $2 - gadget definition (code)",
|
|
"gadgets-export-download": "Use the verb for this message. Submit button.\n{{Identical|Download}}",
|
|
"gadgets-requires-es6": "Message shown on [[Special:Gadgets]] for gadgets that only run on browsers that support ES6",
|
|
"gadgets-validate-notset": "Error message shown if a required property is not set. $1 is the name of the property, e.g. settings.rights .",
|
|
"gadgets-validate-wrongtype": "Error message shown if a property is set to the wrong type. * $1 is the name of the property, e.g. settings.rights or module.messages[3].\n* $2 is the type that this property is expected to have\n* $3 is the type it actually had",
|
|
"right-gadgets-edit": "{{doc-right|gadgets-edit}}",
|
|
"action-gadgets-edit": "{{doc-action|gadgets-edit}}",
|
|
"right-gadgets-definition-edit": "{{doc-right|gadgets-definition-edit}}",
|
|
"action-gadgets-definition-edit": "{{doc-action|gadgets-definition-edit}}",
|
|
"gadgets-wrong-contentmodel": "Error message shown while trying to change the content model of a page in gadget definition namespace to other than GadgetDefinition.",
|
|
"gadgets-supports-urlload": "Used in [[Special:Gadgets]], if the gadget supports ?withgadget query parameter."
|
|
}
|