mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-28 09:40:20 +00:00
3eea8ed824
The messaging is a bit tricky. In some cases, the flag is set because the output involves a single template and some top-level content -- not multiple templates always. Ex: '{{1x|<div>}}foo</span>' In this case, the entire content is considered template-affected because of DOM structuring reasons. This wikitext will generate lint errors with multi-part-template-block template info. In production usage, however, the probability is quite high that multiple templates will be involved. This is usually because of tables that are constructed with multiple templates, for example. So, if we want to fudge and hand-wave a bit, the i18n message can say that the output came from multiple templates. Bug: T162920 Change-Id: I35cee6787800b03724856775fdf53991ae8e8125
62 lines
4.7 KiB
JSON
62 lines
4.7 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Kunal Mehta",
|
|
"Liuxinyu970226",
|
|
"Fitoschido",
|
|
"Umherirrender"
|
|
]
|
|
},
|
|
"linterrors": "{{doc-special|LintErrors}}",
|
|
"linterrors-subpage": "Page title for Special:LintErrors, $1 is the localized category description",
|
|
"linter-desc": "{{desc|name=Linter|url=https://www.mediawiki.org/wiki/Extension:Linter}}",
|
|
"linter-form-namespace": "Label for select field on Special:LintErrors\n{{Identical|Namespace}}",
|
|
"linter-pager-title": "Table column heading for the column with page titles in it\n{{Identical|Page title}}",
|
|
"linter-pager-template": "Table column heading for column with template title in it or an em dash if lint error is not inside a template",
|
|
"linter-pager-obsolete-tag-details": "Table column heading",
|
|
"linter-pager-bogus-image-options-details": "Table column heading",
|
|
"linter-pager-missing-end-tag-details": "Table column heading",
|
|
"linter-pager-stripped-tag-details": "Table column heading",
|
|
"linter-pager-self-closed-tag-details": "Table column heading",
|
|
"linter-pager-deletable-table-tag-details": "Table column heading",
|
|
"linter-pager-misnested-tag-details": "Table column heading",
|
|
"linter-pager-pwrap-bug-workaround-details": "Table column heading",
|
|
"linter-category-fostered": "Name of lint error category. See [[:mw:Help:Extension:Linter/fostered]]",
|
|
"linter-category-fostered-desc": "Description of category.",
|
|
"linter-category-obsolete-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/obsolete-tag]]",
|
|
"linter-category-obsolete-tag-desc": "Description of category.",
|
|
"linter-category-bogus-image-options": "Name of lint error category. See [[:mw:Help:Extension:Linter/bogus-image-options]]",
|
|
"linter-category-bogus-image-options-desc": "Description of category",
|
|
"linter-category-missing-end-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/missing-end-tag]]",
|
|
"linter-category-missing-end-tag-desc": "Description of category",
|
|
"linter-category-stripped-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/stripped-tag]]",
|
|
"linter-category-stripped-tag-desc": "Description of category",
|
|
"linter-category-self-closed-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/self-closed-tag]]",
|
|
"linter-category-self-closed-tag-desc": "Description of category",
|
|
"linter-category-deletable-table-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/deletable-table-tag]]",
|
|
"linter-category-deletable-table-tag-desc": "Description of category.",
|
|
"linter-category-misnested-tag": "Name of lint error category. See [[:mw:Help:Extension:Linter/misnested-tag]]",
|
|
"linter-category-misnested-tag-desc": "Description of category.",
|
|
"linter-category-pwrap-bug-workaround": "Name of lint error category. See [[:mw:Help:Extension:Linter/pwrap-bug-workaround]]",
|
|
"linter-category-pwrap-bug-workaround-desc": "Description of category.",
|
|
"linter-numerrors": "Shown after a category link to indicate how many errors are in that category. $1 is the number of errors, and can be used for PLURAL.\n{{Identical|Error}}",
|
|
"linker-page-title-edit": "Used in a table cell. $1 is a link to the page, $2 is pipe separated links to the edit and history pages, the link text is {{msg-mw|linker-page-edit}} and {{msg-mw|linker-page-history}}",
|
|
"linker-page-edit": "Link text for edit link in {{msg-mw|linker-page-title-edit}}\n{{Identical|Edit}}",
|
|
"linker-page-history": "Link text for history link in {{msg-mw|linker-page-title-edit}}\n{{Identical|History}}",
|
|
"linter-heading-high-priority": "Heading on [[Special:LintErrors]]",
|
|
"linter-heading-medium-priority": "Heading on [[Special:LintErrors]]",
|
|
"linter-heading-low-priority": "Heading on [[Special:LintErrors]]",
|
|
"multi-part-template-block": "Table cell on [[Special:LintErrors]] indicating that content block is not produced by a single template",
|
|
"pageinfo-linter": "Heading on ?action=info for a page if it has lint errors",
|
|
"apihelp-query+linterrors-description": "{{doc-apihelp-description|query+linterrors}}",
|
|
"apihelp-query+linterrors-param-categories": "{{doc-apihelp-param|query+linterrors|categories}}",
|
|
"apihelp-query+linterrors-param-limit": "{{doc-apihelp-param|query+linterrors|limit}}",
|
|
"apihelp-query+linterrors-param-from": "{{doc-apihelp-param|query+linterrors|from}}",
|
|
"apihelp-query+linterrors-param-namespace": "{{doc-apihelp-param|query+linterrors|namespace}}",
|
|
"apihelp-query+linterrors-example-1": "{{doc-apihelp-example|query+linterrors}}",
|
|
"apihelp-record-lint-description": "{{doc-apihelp-description|record-lint}}",
|
|
"apihelp-record-lint-param-data": "{{doc-apihelp-param|record-lint|data}}",
|
|
"apihelp-record-lint-param-page": "{{doc-apihelp-param|record-lint|page}}\n{{Identical|Page title}}",
|
|
"apihelp-record-lint-param-revision": "{{doc-apihelp-param|record-lint|revision}}"
|
|
}
|