ImPacific has uploaded a new change for review. https://gerrit.wikimedia.org/r/139680
Change subject: fix bug 63806 (svg external image placed) ...................................................................... fix bug 63806 (svg external image placed) Change-Id: Ic267cebed64c6144cfd26ff1dce3047148ff0028 --- M includes/parser/Parser.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/80/139680/1 diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 66cfd55..685689c 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -89,7 +89,7 @@ # as well as U+3000 is IDEOGRAPHIC SPACE for bug 19052 const EXT_LINK_URL_CLASS = '[^][<>"\\x00-\\x20\\x7F\p{Zs}]'; const EXT_IMAGE_REGEX = '/^(http:\/\/|https:\/\/)([^][<>"\\x00-\\x20\\x7F\p{Zs}]+) - \\/([A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF]+)\\.((?i)gif|png|jpg|jpeg)$/Sxu'; + \\/([A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF]+)\\.((?i)gif|png|jpg|jpeg|svg)$/Sxu'; # State constants for the definition list colon extraction const COLON_STATE_TEXT = 0; -- To view, visit https://gerrit.wikimedia.org/r/139680 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic267cebed64c6144cfd26ff1dce3047148ff0028 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: ImPacific <psg.1...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits