mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-15 03:35:47 +00:00
b04bd96f58
Premature closing of the style block === HTML injection vector. Bug: T167812 Change-Id: I34c5f200c689a56d340bce70ffebbf58d27b499e
66 lines
11 KiB
JSON
66 lines
11 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Brad Jorsch",
|
|
"Marc A. Pelletier"
|
|
]
|
|
},
|
|
"templatestyles": "The name of the extension",
|
|
"templatestyles-desc": "{{desc|name=TemplateStyles|url=https://www.mediawiki.org/wiki/Extension:TemplateStyles}}",
|
|
"templatestyles-missing-src": "Error message displayed when the <code>src</code> attribute is not present on <code><nowiki><templatestyles></nowiki></code>.",
|
|
"templatestyles-invalid-src": "Error message displayed when the <code>src</code> attribute is not a valid title.",
|
|
"templatestyles-bad-src-missing": "Error message displayed when the title specified has no content. Parameters:\n* $1 - The title specified.\n* $2 - The title with wikitext escaped.",
|
|
"templatestyles-bad-src": "Error message displayed when the title specified is not a usable stylesheet. Parameters:\n* $1 - The title specified.\n* $2 - The title with wikitext escaped.\n* $3 - Current content model of the page in question.",
|
|
"templatestyles-errorcomment": "Formatting for the comment used to display TemplateStyles errors encountered during the parse. Parameters:\n* $1 - Source stylesheet.\n* $2 - Revision of the stylesheet.* $3 - Errors.",
|
|
"templatestyles-size-exceeded": "Error returned when the stylesheet is more than $wgTemplateStylesMaxStylesheetSize bytes. Parameters:\n* $1 - Maximum size in bytes\n* $2 - Maximum size in \"human units\" (i.e. KB, MB, GB, etc).",
|
|
"templatestyles-end-tag-injection": "Error returned when the stylesheet contains <code></style</code>, which is likely an attempt at HTML injection.",
|
|
"content-model-sanitized-css": "Name for TemplateStyles sanitized-css content model.",
|
|
"templatestyles-error-at-rule-block-not-allowed": "Error in CSS validation. Note \"block\" in this message refers to the part of CSS syntax inside the <code>{ ... }</code>. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the at-rule in question.",
|
|
"templatestyles-error-at-rule-block-required": "Error in CSS validation. Note \"block\" in this message refers to the part of CSS syntax inside the <code>{ ... }</code>. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the at-rule in question.",
|
|
"templatestyles-error-bad-character-in-url": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-bad-escape": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-bad-value-for-property": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the property in question.",
|
|
"templatestyles-error-expected-at-rule": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the at-rule that was expected.",
|
|
"templatestyles-error-expected-colon": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-declaration": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-declaration-list": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-eof": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-ident": "Error in CSS parsing. Note \"identifier\" in this message refers to a keyword such as a class name, property name, property value, or the like. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-page-margin-at-rule": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-qualified-rule": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-expected-stylesheet": "Error in CSS validation. If this message is used, it probably indicates an error in the code. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-font-face-at-rule": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-font-feature-value": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the specific feature value at-rule in question.",
|
|
"templatestyles-error-invalid-font-feature-value-declaration": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-font-feature-values-font-list": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-import-value": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-keyframe-name": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-media-query": "Error in CSS validation. Note \"media query\" in this message refers to the syntax described at https://www.w3.org/TR/css3-mediaqueries/. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-namespace-value": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-page-margin-at-rule": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the specific page margin at-rule in question.",
|
|
"templatestyles-error-invalid-page-rule-content": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-page-selector": "Error in CSS validation. Note \"page selector\" refers to the syntax used to specify a page in the <code>@page</code> rule, e.g. the <code>:left</code> in <code>@page :left { ... }</code>. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-selector-list": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-invalid-supports-condition": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-misordered-rule": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-font-feature-values-font-list": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-import-source": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-keyframe-name": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-namespace-value": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-selector-list": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-supports-condition": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-missing-value-for-property": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.\n* $3 - Name of the property in question.",
|
|
"templatestyles-error-newline-in-string": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-recursion-depth-exceeded": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unclosed-comment": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unclosed-string": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unclosed-url": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unexpected-eof": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unexpected-eof-in-block": "Error in CSS parsing. Note \"block\" in this message refers to the part of CSS syntax inside <code>{ ... }</code>, <code>[ ... ]</code>, or <code>( ... )</code>. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unexpected-eof-in-function": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unexpected-eof-in-rule": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unexpected-token-in-declaration-list": "Error in CSS parsing. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unrecognized-property": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line.",
|
|
"templatestyles-error-unrecognized-rule": "Error in CSS validation. Parameters:\n* $1 - Line number of the error.\n* $2 - Location of the error within the line."
|
|
}
|