mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-24 16:26:05 +00:00
d1734fbeb2
Two tracking categories are added: * A category to track stylesheets with errors. While it's usually not possible to save a stylesheet with errors, it can happen if a server-side change makes formerly-valid CSS become invalid. * A category to track pages displaying errors from incorrect use of the <templatestyles/> tag. Bug: T195676 Change-Id: I123679d4bffe36cb28aca1688c052470027ea2a8
71 lines
6.4 KiB
JSON
71 lines
6.4 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Brad Jorsch",
|
|
"Marc A. Pelletier"
|
|
]
|
|
},
|
|
"templatestyles": "TemplateStyles",
|
|
"templatestyles-desc": "Implement per-template style sheets",
|
|
"templatestyles-missing-src": "TemplateStyles' <code>src</code> attribute must not be empty.",
|
|
"templatestyles-invalid-src": "Invalid title for TemplateStyles' <code>src</code> attribute.",
|
|
"templatestyles-bad-src-missing": "Page [[:$1|$2]] has no content.",
|
|
"templatestyles-bad-src": "Page [[:$1|$2]] must have content model \"{{int:content-model-sanitized-css}}\" for TemplateStyles (current model is \"$3\").",
|
|
"templatestyles-errorcomment": "Errors processing stylesheet [[:$1]] (rev $2):\n$3",
|
|
"templatestyles-size-exceeded": "The stylesheet is larger than the maximum size of $2.",
|
|
"templatestyles-end-tag-injection": "The supplied stylesheet contains <code></style</code>, which is not allowed.",
|
|
"content-model-sanitized-css": "Sanitized CSS",
|
|
"templatestyles-stylesheet-error-category": "TemplateStyles stylesheets with errors",
|
|
"templatestyles-stylesheet-error-category-desc": "The TemplateStyles stylesheet has an error.",
|
|
"templatestyles-page-error-category": "Pages with TemplateStyles errors",
|
|
"templatestyles-page-error-category-desc": "There was an error when processing a <code><nowiki><templatestyles/></nowiki></code> tag on the page.",
|
|
|
|
"templatestyles-error-at-rule-block-not-allowed": "Block not allowed for <code>@$3</code> at line $1 character $2.",
|
|
"templatestyles-error-at-rule-block-required": "Block required for <code>@$3</code> at line $1 character $2.",
|
|
"templatestyles-error-bad-character-in-url": "Invalid character in URL at line $1 character $2.",
|
|
"templatestyles-error-bad-escape": "Invalid character in escape at line $1 character $2.",
|
|
"templatestyles-error-bad-value-for-property": "Invalid or unsupported value for property <code>$3</code> at line $1 character $2.",
|
|
"templatestyles-error-expected-at-rule": "Expected <code>@$3</code> at line $1 character $2.",
|
|
"templatestyles-error-expected-colon": "Expected a colon at line $1 character $2.",
|
|
"templatestyles-error-expected-declaration": "Expected a declaration at line $1 character $2.",
|
|
"templatestyles-error-expected-declaration-list": "Expected a declaration list at line $1 character $2.",
|
|
"templatestyles-error-expected-eof": "Expected the end of the stylesheet at line $1 character $2.",
|
|
"templatestyles-error-expected-ident": "Expected an identifier a line $1 character $2.",
|
|
"templatestyles-error-expected-page-margin-at-rule": "Expected a <code>@page</code> margin at-rule at line $1 character $2.",
|
|
"templatestyles-error-expected-qualified-rule": "Expected a style rule at line $1 character $2.",
|
|
"templatestyles-error-expected-stylesheet": "Expected a stylesheet at line $1 character $2.",
|
|
"templatestyles-error-invalid-font-face-at-rule": "<code>@font-face</code> does not allow anything before the block at line $1 character $2.",
|
|
"templatestyles-error-invalid-font-feature-value": "<code>@$3</code> does not allow anything before the block at line $1 character $2.",
|
|
"templatestyles-error-invalid-font-feature-value-declaration": "Invalid value for font feature value property at line $1 character $2.",
|
|
"templatestyles-error-invalid-font-feature-values-font-list": "Invalid font list for <code>@font-feature-values</code> at line $1 character $2.",
|
|
"templatestyles-error-invalid-import-value": "Invalid value for <code>@import</code> at line $1 character $2.",
|
|
"templatestyles-error-invalid-keyframe-name": "Invalid keyframe name at line $1 character $2.",
|
|
"templatestyles-error-invalid-media-query": "Invalid media query at line $1 character $2.",
|
|
"templatestyles-error-invalid-namespace-value": "Invalid value for <code>@namespace</code> at line $1 character $2.",
|
|
"templatestyles-error-invalid-page-margin-at-rule": "<code>@$3</code> does not allow anything before the block at line $1 character $2.",
|
|
"templatestyles-error-invalid-page-rule-content": "Invalid content for <code>@page</code> at line $1 character $2.",
|
|
"templatestyles-error-invalid-page-selector": "Invalid page selector at line $1 character $2.",
|
|
"templatestyles-error-invalid-selector-list": "Invalid selector list at line $1 character $2.",
|
|
"templatestyles-error-invalid-supports-condition": "Invalid condition for <code>@supports</code> at line $1 character $2.",
|
|
"templatestyles-error-misordered-rule": "Misordered rule at line $1 character $2.",
|
|
"templatestyles-error-missing-font-feature-values-font-list": "Missing font list for <code>@font-feature-values</code> at line $1 character $2.",
|
|
"templatestyles-error-missing-import-source": "Missing source for <code>@import</code> at line $1 character $2.",
|
|
"templatestyles-error-missing-keyframe-name": "Missing name for <code>@keyframes</code> at line $1 character $2.",
|
|
"templatestyles-error-missing-namespace-value": "Missing value for <code>@namespace</code> at line $1 character $2.",
|
|
"templatestyles-error-missing-selector-list": "Missing selector list at line $1 character $2.",
|
|
"templatestyles-error-missing-supports-condition": "Missing condition for <code>@supports</code> at line $1 character $2.",
|
|
"templatestyles-error-missing-value-for-property": "Missing value for property <code>$3</code> at line $1 character $2.",
|
|
"templatestyles-error-newline-in-string": "Invalid newline in string at line $1 character $2.",
|
|
"templatestyles-error-recursion-depth-exceeded": "Too many nested blocks and/or functions at line $1 character $2.",
|
|
"templatestyles-error-unclosed-comment": "Unclosed comment starting at line $1 character $2.",
|
|
"templatestyles-error-unclosed-string": "Unclosed string starting at line $1 character $2.",
|
|
"templatestyles-error-unclosed-url": "Unclosed URL at line $1 character $2.",
|
|
"templatestyles-error-unexpected-eof": "Unexpected end of stylesheet at line $1 character $2.",
|
|
"templatestyles-error-unexpected-eof-in-block": "Unexpected end of stylesheet in block at line $1 character $2.",
|
|
"templatestyles-error-unexpected-eof-in-function": "Unexpected end of stylesheet in function at line $1 character $2.",
|
|
"templatestyles-error-unexpected-eof-in-rule": "Unexpected end of stylesheet in rule at line $1 character $2.",
|
|
"templatestyles-error-unexpected-token-in-declaration-list": "Unexpected token in declaration list at line $1 character $2.",
|
|
"templatestyles-error-unrecognized-property": "Unrecognized or unsupported property at line $1 character $2.",
|
|
"templatestyles-error-unrecognized-rule": "Unrecognized or unsupported rule at line $1 character $2."
|
|
}
|