mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-09-23 10:21:52 +00:00
Create linting rule for large tables
depends-on: Ic25c50caf15423179e32ab1b4c0f0ab9f6c71cb3 Bug: T334528 Change-Id: I691a265aa1c3914c8cd9f3a63c2e8f8bfe92af0f
This commit is contained in:
parent
218c241c5b
commit
53918dd364
|
@ -188,6 +188,13 @@
|
|||
"enabled": false,
|
||||
"priority": "high",
|
||||
"no-params": true
|
||||
},
|
||||
"large-tables": {
|
||||
"dbid": 20,
|
||||
"enabled": false,
|
||||
"priority": "low",
|
||||
"has-name": true,
|
||||
"parser-migration": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
"linterrors": "Lint errors",
|
||||
"linter-category-bogus-image-options": "Bogus file options",
|
||||
"linter-category-bogus-image-options-desc": "These pages have files with bogus options.",
|
||||
"linter-category-large-tables": "Big Tables that are hard to view on mobile",
|
||||
"linter-category-large-tables-desc": "These pages have tables that are hard to view on mobile",
|
||||
"linter-category-deletable-table-tag": "Table tag that should be deleted",
|
||||
"linter-category-deletable-table-tag-desc": "These pages have table tags that should be deleted.",
|
||||
"linter-category-fostered": "Fostered content",
|
||||
|
@ -66,6 +68,7 @@
|
|||
"linter-page-title-edit": "$1 ($2)",
|
||||
"linter-page-viewsource": "view source",
|
||||
"linter-pager-bogus-image-options-details": "Bogus file option",
|
||||
"linter-pager-large-tables-details": "Table that is large for mobile view",
|
||||
"linter-pager-category-header": "Category",
|
||||
"linter-pager-deletable-table-tag-details": "Table tag that should be deleted",
|
||||
"linter-pager-details-header": "Additional info",
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
"linterrors": "{{doc-special|LintErrors}}",
|
||||
"linter-category-bogus-image-options": "Name of lint error category. See [[:mw:Help:Lint errors/bogus-image-options]]",
|
||||
"linter-category-bogus-image-options-desc": "Description of category\n\nSimilar messages:\n* {{msg-mw|Linter-category-deletable-table-tag-desc}}\n* {{msg-mw|Linter-category-fostered-desc}}\netc.",
|
||||
"linter-category-large-tables": "Name of lint error category. See [[:mw:Help:Lint errors/large-tables]]",
|
||||
"linter-category-large-tables-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-deletable-table-tag": "Name of lint error category. See [[:mw:Help:Lint errors/deletable-table-tag]]",
|
||||
"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]]",
|
||||
|
@ -74,6 +76,7 @@
|
|||
"linter-page-title-edit": "{{optional}}\nUsed 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|linter-page-edit}} and {{msg-mw|linter-page-history}}",
|
||||
"linter-page-viewsource": "Link text for view source link when user does not have permission to edit in {{msg-mw|linter-page-title-edit}}",
|
||||
"linter-pager-bogus-image-options-details": "Table column heading",
|
||||
"linter-pager-large-tables-details": "Table column heading",
|
||||
"linter-pager-category-header": "Heading of a table column showing the category of a lint error.\n{{identical|Category}}",
|
||||
"linter-pager-deletable-table-tag-details": "Table column heading",
|
||||
"linter-pager-details-header": "Table column heading for the linter error details",
|
||||
|
|
Loading…
Reference in a new issue