Would it be better if wikimedia on upload just generate a warning "svg contains <a> tag" + an option to enable custom filter?
I think svg upload is responsibility of wikimedia admin\owner, not wikimedia developer.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed Search
Jan 8 2016
Jan 8 2016
Nox86 added a comment to T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files.
Nox86 added a comment to T123071: Incorrectly identifying http link in a's href attributes, due to m modifier in regex.
sorry, just got notiffication about commit
Jan 7 2016
Jan 7 2016
Nox86 added a comment to T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files.
don't know where I should comment (here or T123071), so sorry if it is wrong
Nox86 added a comment to T123071: Incorrectly identifying http link in a's href attributes, due to m modifier in regex.
edited,
please see T122653
Dec 30 2015
Dec 30 2015
Nox86 added a comment to T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files.
sorry I put incomplete info, here the example:
The svg below is uploadable, but it shouldn't (?) as well as javascript shouldn't be allowed.
<svg> <a href="http://example.com"><circle cx="50" cy="50" r="40"/></a> </svg>
The good case with relative link to the wiki (it is hightly useful to have for exported block diagrams)
<svg> <a href="my_local_link"><circle cx="50" cy="50" r="40"/></a> </svg>
Please leave the ability to have local links in the svg. We use it for documents exported from Visio. It is the only way we can integrate those diagrams with wikimedia!
Thanks
Nox86 renamed T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files from Wrong 'uploaded-href-attribute-svg' rule, allow non-local links in svg to Wrong 'uploaded-href-attribute-svg' rule, non-local links in svg are allowed.
Nox86 renamed T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files from Wrong 'uploaded-href-attribute-svg' rule to Wrong 'uploaded-href-attribute-svg' rule, allow non-local links in svg.
Nox86 renamed T122653: SVG validation should allow relative urls in <a> links in uploaded SVG files from to Wrong 'uploaded-href-attribute-svg' rule.
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits