mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-12-01 02:46:15 +00:00
f5fece10fd
Deprecate the 'doNotIgnoreMissingTitles' parameter and replace it with 'includeMissingTitles'. If this parameter is requested 'raw parameters' will be added to the response in the same format as templatedata parameters. Raw parameters are those that *might* be in the template (using the same logic as the TemplateData generator wizard). Also fix the example that was using a falsy value which meant the option was enabled rather than disabled as it says in the docs. Bug: T191756 Change-Id: Ie5fe2097cda45968bb080643d3afcac0b2868a6c
123 lines
8.2 KiB
JSON
123 lines
8.2 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Timo Tijhof",
|
|
"James D. Forrester",
|
|
"Moriel Schottlender",
|
|
"Marielle Volz"
|
|
]
|
|
},
|
|
"apihelp-templatedata-description": "Fetch data stored by the TemplateData extension.",
|
|
"apihelp-templatedata-summary": "Fetch data stored by the TemplateData extension.",
|
|
"apihelp-templatedata-example-1": "Return TemplateData for [[Template:Stub]] and [[Template:Example]], with results if the templates do not exist or do exist but have no TemplateData",
|
|
"apihelp-templatedata-example-2": "Return TemplateData for [[Template:Stub]] and [[Template:Example]], with no results if the templates do not exist or do exist but have no TemplateData",
|
|
"apihelp-templatedata-param-includeMissingTitles": "Return data about titles even if they are missing or lack TemplateData. By default titles are only returned if they exist and have TemplateData.",
|
|
"apihelp-templatedata-param-doNotIgnoreMissingTitles": "Return data about titles even if they are missing or lack TemplateData. By default (for backwards compatibility) titles are only returned if they exist and have TemplateData.",
|
|
"apihelp-templatedata-param-lang": "Return localized values in this language. By default all available translations are returned.",
|
|
"apierror-templatedata-corrupt": "Page #$1 templatedata contains invalid data: $2",
|
|
"apiwarn-templatedata-deprecation-format": "The default output format will change to <kbd>jsonfm</kbd> in the future. Please specify <kbd>format=json</kbd> explicitly.",
|
|
"templatedata-desc": "Implement data storage for template parameters (using JSON)",
|
|
"templatedata-doc-desc-empty": "No description.",
|
|
"templatedata-doc-format-block": "This template prefers block formatting of parameters.",
|
|
"templatedata-doc-format-custom": "This template has custom formatting.",
|
|
"templatedata-doc-format-inline": "This template prefers inline formatting of parameters.",
|
|
"templatedata-doc-no-params-set": "No parameters specified",
|
|
"templatedata-doc-param-autovalue": "Auto value",
|
|
"templatedata-doc-param-autovalue-empty": "empty",
|
|
"templatedata-doc-param-default": "Default",
|
|
"templatedata-doc-param-default-empty": "empty",
|
|
"templatedata-doc-param-example": "Example",
|
|
"templatedata-doc-param-example-empty": "empty",
|
|
"templatedata-doc-param-desc": "Description",
|
|
"templatedata-doc-param-desc-empty": "no description",
|
|
"templatedata-doc-param-name": "Parameter",
|
|
"templatedata-doc-param-status": "Status",
|
|
"templatedata-doc-param-status-deprecated": "deprecated",
|
|
"templatedata-doc-param-status-optional": "optional",
|
|
"templatedata-doc-param-status-required": "required",
|
|
"templatedata-doc-param-status-suggested": "suggested",
|
|
"templatedata-doc-param-type": "Type",
|
|
"templatedata-doc-param-type-boolean": "Boolean",
|
|
"templatedata-doc-param-type-content": "Content",
|
|
"templatedata-doc-param-type-date": "Date",
|
|
"templatedata-doc-param-type-line": "Line",
|
|
"templatedata-doc-param-type-number": "Number",
|
|
"templatedata-doc-param-type-string": "String",
|
|
"templatedata-doc-param-type-unbalanced-wikitext": "Unbalanced wikitext",
|
|
"templatedata-doc-param-type-unknown": "Unknown",
|
|
"templatedata-doc-param-type-url": "URL",
|
|
"templatedata-doc-param-type-wiki-file-name": "File",
|
|
"templatedata-doc-param-type-wiki-page-name": "Page",
|
|
"templatedata-doc-param-type-wiki-template-name": "Template",
|
|
"templatedata-doc-param-type-wiki-user-name": "User",
|
|
"templatedata-doc-params": "Template parameters",
|
|
"templatedata-doc-subpage": "doc",
|
|
"templatedata-editbutton": "Manage TemplateData",
|
|
"templatedata-errormsg-jsonbadformat": "Bad JSON format. You can cancel this operation so you can correct it, delete the current <templatedata> tags and try again, or continue to replace the current TemplateData with a new one.",
|
|
"templatedata-errormsg-insertblank": "Are you sure you want to insert TemplateData with no information?",
|
|
"templatedata-exists-on-related-page": "Please note: there is already a TemplateData block on the related page \"[[$1]]\".",
|
|
"templatedata-helplink": "Information about TemplateData",
|
|
"templatedata-helplink-target": "//www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateData",
|
|
"templatedata-invalid-duplicate-value": "Property \"$1\" (\"$3\") is a duplicate of \"$2\".",
|
|
"templatedata-invalid-empty-array": "Property \"$1\" must have at least one value in its array.",
|
|
"templatedata-invalid-format": "Property \"$1\" is expected to be \"inline\", \"block\", or a valid format string.",
|
|
"templatedata-invalid-length": "Data too large to save ({{formatnum:$1}} {{PLURAL:$1|byte|bytes}}, {{PLURAL:$2|limit is}} {{formatnum:$2}})",
|
|
"templatedata-invalid-missing": "Required property \"$1\" not found.",
|
|
"templatedata-invalid-param": "Invalid parameter \"$1\" for property \"$2\".",
|
|
"templatedata-invalid-parse": "Syntax error in JSON.",
|
|
"templatedata-invalid-type": "Property \"$1\" is expected to be of type \"$2\".",
|
|
"templatedata-invalid-unknown": "Unexpected property \"$1\".",
|
|
"templatedata-invalid-value": "Invalid value for property \"$1\".",
|
|
"templatedata-modal-button-add-language": "Add language",
|
|
"templatedata-modal-button-addparam": "Add parameter",
|
|
"templatedata-modal-button-apply": "Apply",
|
|
"templatedata-modal-button-back": "Back",
|
|
"templatedata-modal-button-cancel": "Cancel",
|
|
"templatedata-modal-button-changelang": "Change language",
|
|
"templatedata-modal-button-delparam": "Remove parameter information",
|
|
"templatedata-modal-button-done": "Done",
|
|
"templatedata-modal-button-importParams": "Import parameters",
|
|
"templatedata-modal-button-restoreparam": "Restore parameter",
|
|
"templatedata-modal-button-saveparam": "Save",
|
|
"templatedata-modal-confirmcancel": "Are you sure you want to discard your changes?",
|
|
"templatedata-modal-current-language": "Current language: $1",
|
|
"templatedata-modal-errormsg": "Errors found. Please make sure there are no empty or duplicate parameter names, and that the parameter name does not include \"$1\", \"$2\" or \"$3\".",
|
|
"templatedata-modal-errormsg-duplicate-name": "Error found. The chosen name is already in use by another parameter.",
|
|
"templatedata-modal-errormsg-import-noparams": "No new parameters found during import.",
|
|
"templatedata-modal-format-block": "Block",
|
|
"templatedata-modal-format-custom": "Custom",
|
|
"templatedata-modal-format-inline": "Inline",
|
|
"templatedata-modal-format-null": "Unspecified",
|
|
"templatedata-modal-format-placeholder": "Template parameter format string",
|
|
"templatedata-modal-json-error-replace": "Replace",
|
|
"templatedata-modal-notice-import-numparams": "$1 new {{PLURAL:$1|parameter was|parameters were}} imported: $2",
|
|
"templatedata-modal-placeholder-paramkey": "Parameter name",
|
|
"templatedata-modal-search-input-placeholder": "Search by language name or code",
|
|
"templatedata-modal-table-param-actions": "Actions",
|
|
"templatedata-modal-table-param-aliases": "Aliases (comma separated)",
|
|
"templatedata-modal-table-param-autovalue": "Auto value",
|
|
"templatedata-modal-table-param-default": "Default ($1)",
|
|
"templatedata-modal-table-param-deprecated": "Deprecated",
|
|
"templatedata-modal-table-param-deprecatedValue": "Deprecated guidance",
|
|
"templatedata-modal-table-param-description": "Description ($1)",
|
|
"templatedata-modal-table-param-example": "Example ($1)",
|
|
"templatedata-modal-table-param-importoption": "Add $1 suggested {{PLURAL:$1|parameter|parameters}}",
|
|
"templatedata-modal-table-param-importoption-subtitle": "Including: $1",
|
|
"templatedata-modal-table-param-label": "Label ($1)",
|
|
"templatedata-modal-table-param-name": "Name",
|
|
"templatedata-modal-table-param-required": "Required",
|
|
"templatedata-modal-table-param-suggested": "Suggested",
|
|
"templatedata-modal-table-param-type": "Type",
|
|
"templatedata-modal-table-param-uneditablefield": "Uneditable",
|
|
"templatedata-modal-title": "Template documentation editor",
|
|
"templatedata-modal-title-addparam": "Add new parameter",
|
|
"templatedata-modal-title-choose-language": "Choose language",
|
|
"templatedata-modal-title-language": "Language",
|
|
"templatedata-modal-title-paramorder": "Parameter order",
|
|
"templatedata-modal-title-templatedesc": "Template description ($1)",
|
|
"templatedata-modal-title-templateformat": "Suggested wikitext formatting",
|
|
"templatedata-modal-title-templateformatstring": "Custom format string",
|
|
"templatedata-modal-title-templateparam-details": "Parameter details: $1",
|
|
"templatedata-modal-title-templateparams": "Template parameters"
|
|
}
|