https://bugzilla.wikimedia.org/show_bug.cgi?id=55963
Web browser: ---
Bug ID: 55963
Summary: mediawiki.Title: Localised SVG thumbnails corrupt the
newFromImg parser
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Keywords: code-update-regression
Severity: critical
Priority: Unprioritized
Component: JavaScript
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
3f5d41d4135740573f642 (bug 32987) introduced support for lang= on localised
SVGs.
Thumbnails are generated in this form:
[[File:Gerrit_patchset_25838_test.svg|thumb|lang=de]]
https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gerrit_patchset_25838_test.svg/langde-345px-Gerrit_patchset_25838_test.svg.png
mw.Title.newFromImg({src:'https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gerrit_patchset_25838_test.svg/langde-345px-Gerrit_patchset_25838_test.svg.png'});
> File:Langde-345px-Gerrit patchset 25838 test.svg.png
Since both mw.Title.newFromImg and localised SVG thumbnails are introduced
recently, this is a 1.22-alpha cycle regression that must be addressed before
release.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l