mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 15:36:52 +00:00
Add a "fostered-transparent" lint category
Historically, Parsoid would suppress emitting lints for fostered content that was purely rendering transparent since it's common to put include directives, categories, etc in fosterable position and it made no difference to rendering. However, clients like DiscussionTools can benefit from this knowledge, especially outside of templated content where it could result in edit corruptions. A separate category is used to avoid disrupting the work of editors cleaning up lints in the "fostered" category, as in T369317. Bug: T371142 Bug: T290936 Bug: T369317 Change-Id: I3519d86898df262eaea1a3303130453497ff27aa
This commit is contained in:
parent
c41c96c243
commit
fe6612e6ea
|
@ -234,6 +234,12 @@
|
|||
"dbid": 23,
|
||||
"enabled": false,
|
||||
"priority": "none"
|
||||
},
|
||||
"fostered-transparent": {
|
||||
"dbid": 24,
|
||||
"enabled": true,
|
||||
"priority": "none",
|
||||
"no-params": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
"linter-category-deletable-table-tag-desc": "These pages have table tags that should be deleted.",
|
||||
"linter-category-fostered": "Fostered content",
|
||||
"linter-category-fostered-desc": "These pages have fostered content.",
|
||||
"linter-category-fostered-transparent": "Fostered rendering transparent content",
|
||||
"linter-category-fostered-transparent-desc": "These pages have fostered rendering transparent content.",
|
||||
"linter-category-html5-misnesting": "Misnested tag with different rendering in HTML5 and HTML4",
|
||||
"linter-category-html5-misnesting-desc": "These misnested tags will behave differently in HTML5 compared to HTML4.",
|
||||
"linter-category-night-mode-unaware-background-color": "Background color inline style rule exists without a corresponding text color",
|
||||
|
@ -77,6 +79,7 @@
|
|||
"linter-pager-deletable-table-tag-details": "Table tag that should be deleted",
|
||||
"linter-pager-details-header": "Additional info",
|
||||
"linter-pager-fostered-details": "Fostered content",
|
||||
"linter-pager-fostered-transparent-details": "Fostered rendering transparent content",
|
||||
"linter-pager-html5-misnesting-details": "Misnesting (now broken)",
|
||||
"linter-pager-inline-media-caption-details": "Invisible caption",
|
||||
"linter-pager-large-tables-details": "Table that is large for mobile view",
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
"linter-category-deletable-table-tag-desc": "Description of category\n\nSimilar messages:\n* {{msg-mw|Linter-category-bogus-image-options-desc}}\n* {{msg-mw|Linter-category-fostered-desc}}\netc.",
|
||||
"linter-category-fostered": "Name of lint error category. See [[:mw:Help:Lint errors/fostered]]",
|
||||
"linter-category-fostered-desc": "Description of category. This lint error is explained on [[mw:Special:MyLanguage/Help:Lint errors/fostered]].\n\nSimilar messages:\n* {{msg-mw|Linter-category-bogus-image-options-desc}}\n* {{msg-mw|Linter-category-deletable-table-tag-desc}}\netc.",
|
||||
"linter-category-fostered-transparent": "Name of lint error category. See [[:mw:Help:Lint errors/fostered-transparent]]",
|
||||
"linter-category-fostered-transparent-desc": "Description of category. This lint error is explained on [[mw:Special:MyLanguage/Help:Lint errors/fostered-transparent]].\n\nSimilar messages:\n* {{msg-mw|Linter-category-bogus-image-options-desc}}\n* {{msg-mw|Linter-category-deletable-table-tag-desc}}\netc.",
|
||||
"linter-category-html5-misnesting": "Name of lint error category. See [[:mw:Help:Lint errors/html5-misnesting]]",
|
||||
"linter-category-html5-misnesting-desc": "Description of category",
|
||||
"linter-category-night-mode-unaware-background-color": "Name of lint error category. See [[:mw:Help:Lint errors/night-mode-unaware-background-color]]",
|
||||
|
@ -85,6 +87,7 @@
|
|||
"linter-pager-deletable-table-tag-details": "Table column heading",
|
||||
"linter-pager-details-header": "Table column heading for the linter error details",
|
||||
"linter-pager-fostered-details": "Table column heading.",
|
||||
"linter-pager-fostered-transparent-details": "Table column heading.",
|
||||
"linter-pager-html5-misnesting-details": "Table column heading.",
|
||||
"linter-pager-inline-media-caption-details": "Table column heading.",
|
||||
"linter-pager-large-tables-details": "Table column heading",
|
||||
|
|
Loading…
Reference in a new issue