Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/267545
Change subject: Correct messages 'uploaded-href-attribute-svg' and
'uploaded-href-unsafe-target-svg'
......................................................................
Correct messages 'uploaded-href-attribute-svg' and
'uploaded-href-unsafe-target-svg'
Whoops, 'uploaded-href-attribute-svg' was actually telling the user
almost the exact opposite of the truth. All the translations for it
should also be removed, as they're all wrong.
Change-Id: I56b62c0127cb87707256c8e45d49ce7764f49e31
---
M languages/i18n/en.json
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/45/267545/1
diff --git a/languages/i18n/en.json b/languages/i18n/en.json
index 639af0f..fa08ce6 100644
--- a/languages/i18n/en.json
+++ b/languages/i18n/en.json
@@ -1448,8 +1448,8 @@
"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 <code><$1
$2=\"$3\"></code> with non-local target (e.g. http://, javascript:, etc) are
not allowed in SVG files.",
- "uploaded-href-unsafe-target-svg": "Found href to unsafe target
<code><$1 $2=\"$3\"></code> in the uploaded SVG file.",
+ "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-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.",
"uploaded-setting-href-svg": "Using the \"set\" tag to add \"href\"
attribute to parent element is blocked.",
--
To view, visit https://gerrit.wikimedia.org/r/267545
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I56b62c0127cb87707256c8e45d49ce7764f49e31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits