Mattflaschen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/383502 )
Change subject: Fix SVG href error messaage to be more accurate and useful ...................................................................... Fix SVG href error messaage to be more accurate and useful Change-Id: I2519e1802a62e4d7c1d666b4325982063ff9b40c --- M languages/i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/02/383502/1 diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 282b906..79b0f60 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1612,7 +1612,7 @@ "uploaded-script-svg": "Found scriptable element \"$1\" in the uploaded SVG file.", "uploaded-hostile-svg": "Found unsafe CSS in the style element of uploaded SVG file.", "uploaded-event-handler-on-svg": "Setting event-handler attributes <code>$1=\"$2\"</code> is not allowed in SVG files.", - "uploaded-href-attribute-svg": "href attributes in SVG files are only allowed to link to http:// or https:// targets, found <code><$1 $2=\"$3\"></code>.", + "uploaded-href-attribute-svg": "<a> elements can only link (href) to data: (embedded file), http:// or https://, or fragment (#, same-document) targets. For other elements, such as <image>, only data: and fragment are allowed. Try embedding images when exporting your SVG. Found <code><$1 $2=\"$3\"></code>.", "uploaded-href-unsafe-target-svg": "Found href to unsafe data: URI target <code><$1 $2=\"$3\"></code> in the uploaded SVG file.", "uploaded-animate-svg": "Found \"animate\" tag that might be changing href, using the \"from\" attribute <code><$1 $2=\"$3\"></code> in the uploaded SVG file.", "uploaded-setting-event-handler-svg": "Setting event-handler attributes is blocked, found <code><$1 $2=\"$3\"></code> in the uploaded SVG file.", -- To view, visit https://gerrit.wikimedia.org/r/383502 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2519e1802a62e4d7c1d666b4325982063ff9b40c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits