mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-30 18:14:21 +00:00
bf1d6b3e93
With GadgetDefinitionNamespaceRepo, there should be separate rights for editing gadget json as opposed to editing gadget css/js, so that admins can be granted the former, while the latter remains restricted to int-admins. Reusing the MW core rights for site CSS/JS/JSON seems to make the most sense here. Protection is now applied via GetUserPermissionsErrors hook rather than as namespace protection. For editing any non-CSS/JS/JSON pages in the namespace, editsitejs right is required. Bug: T298834 Change-Id: I6ffd5e9467774f1e79ccdce8b6b4739f07be2da8
80 lines
8 KiB
JSON
80 lines
8 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-prefstext-safemode": "In Gadgets extension. Shown under the Gadgets tab in [[Special:Preferences#mw-prefsection-gadgets|Special:Preferences]] when safe mode is enabled (thus gadgets are disabled).",
|
|
"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-required-namespaces": "Parameters:\n* $1 - a comma separated list.\n* $2 - the number of items in list $1 for PLURAL use.",
|
|
"gadgets-required-contentmodels": "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. Parameters:\n* $1 - 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",
|
|
"gadgets-validate-json": "Warning message to indicate that JSON files cannot be used as they are only valid in package gadgets",
|
|
"gadgets-validate-es6default": "Warning message to indicate that gadget requiring ES6 cannot be default.",
|
|
"gadgets-validate-noentrypoint": "Warning message to indicate that package flag will be ignored as no script files are specified.",
|
|
"gadgets-validate-noscripts": "Warning message to indicate that scripts will be ignored as this is a styles gadget.",
|
|
"gadgets-validate-stylepeers": "Warning message to indicate that peers will be ignored as they are not allowed for styles gadgets.",
|
|
"gadgets-validate-scriptsnotallowed": "Warning message to indicate that scripts or data pages are not allowed for styles gadgets.",
|
|
"gadgets-validate-invalidjs": "Warning message to indicate that a script has invalid content model. Parameters:\n* $1 - page name, $2 - given content model",
|
|
"gadgets-validate-invalidcss": "Warning message to indicate that a stylesheet has invalid content model. Parameters:\n* $1 - page name, $2 - given content model",
|
|
"gadgets-validate-invalidjson": "Warning message to indicate that a data page has invalid content model. Parameters:\n* $1 - page name, $2 - given content model",
|
|
"gadgets-validate-nopeer": "Warning message to indicate that peer gadget does not exist. Parameters:\n* $1 - the peer gadget",
|
|
"gadgets-validate-invalidpeer": "Warning message to indicate that the peer gadget is not a styles-only gadget, so will be ignored. Parameters:\n* $1 - the peer gadget",
|
|
"gadgets-validate-invalidactions": "Warning message to indicate that the actions are not recognised. Parameters:\n* $1 - comma separated list of invalid actions, $2 - number of items in list $1",
|
|
"gadgets-validate-invalidcontentmodels": "Warning message to indicate that the content models are not recognised. Parameters:\n* $1 - comma separated list of invalid content models, $2 - number of items in list $1",
|
|
"gadgets-validate-invalidnamespaces": "Warning message to indicate that the namespaces are not recognised. Parameters:\n* $1 - comma separated list of invalid namespaces, $2 - number of items in list $1",
|
|
"gadgets-validate-invalidtargets": "Warning message to indicate that the targets are not recognised. Parameters:\n* $1 - comma separated list of invalid targets, $2 - number of items in list $1",
|
|
"gadgets-validate-invalidtitle": "Warning message to indicate that the page title is invalid. Parameters:\n* $1 - page name",
|
|
"gadgets-validate-nopage": "Warning message to indicate the script/style/json page does not exist. Parameters:\n* $1 - page name",
|
|
"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.",
|
|
"gadgets-protected": "Error message shown while trying to edit any non-CSS/JS/JSON pages in gadget namespace, if user doesn't have permission"
|
|
}
|