Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/389536 )
Change subject: Unify SVG markup ...................................................................... Unify SVG markup Align SVG markup across Foundation products by: - unifying XML declaration, - removing unnecessary `standalone="no"` attribute as it's default, - removing all SVG editor metadata, - removing all `g` group elements except where necessary for transforms, - putting attributes on `path`, - removing unnecessary ids, and - unifying whitespace. Change-Id: I370e098c0570e017c884bdf75f5d7052f97e1abe --- M demos/ve/VisualEditor-logo.svg M demos/ve/VisualEditor-pad-logo.svg M src/ui/styles/images/icons/table-move-column-ltr.svg M src/ui/styles/images/icons/table-move-column-rtl.svg M src/ui/styles/images/icons/table-move-row-after.svg M src/ui/styles/images/icons/table-move-row-before.svg M src/ui/styles/images/resize-ne-sw.svg M src/ui/styles/images/resize-nw-se.svg 8 files changed, 31 insertions(+), 35 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor refs/changes/36/389536/1 diff --git a/demos/ve/VisualEditor-logo.svg b/demos/ve/VisualEditor-logo.svg index c76de67..6bf31b8 100644 --- a/demos/ve/VisualEditor-logo.svg +++ b/demos/ve/VisualEditor-logo.svg @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="UTF-8"?> <!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" diff --git a/demos/ve/VisualEditor-pad-logo.svg b/demos/ve/VisualEditor-pad-logo.svg index d3e780b..0216ade 100644 --- a/demos/ve/VisualEditor-pad-logo.svg +++ b/demos/ve/VisualEditor-pad-logo.svg @@ -1,8 +1,8 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="72.5 191.5 400 225" height="225" width="400" id="Layer_1"> - <path d="M134.986 339.34l-28.42-64.12h13.58l16.94 38.64 16.52-38.64h13.3l-27.72 64.12z" fill="#2ba9e0"/> - <path d="M225.98 319.88v12.04q-.84.7-1.82 1.26-.84.56-1.68.98-4.76 2.8-9.8 3.92-5.04 1.26-11.76 1.26-14.7 0-22.68-10.08-7.84-10.22-7.84-23.24 0-14.28 8.12-23.1 8.26-8.82 21.28-8.82 12.46 0 19.88 8.54 7.42 8.54 7.42 26.04l-44.24-.14q1.54 9.52 6.86 14.28t14.28 4.76q4.2 0 8.26-1.12 4.2-1.12 8.26-3.22 1.4-.7 2.66-1.54l2.8-1.68zm-42.84-19.6h31.64q-.28-7-4.2-11.2-3.92-4.2-10.5-4.2-7.14 0-11.48 4.06-4.2 4.06-5.46 11.48z" fill="#9acc59"/> - <path d="M252.093 336.54v33.74h-12.46v-95.06h21.56q17.22.14 26.32 8.4 9.1 8.12 9.1 23.66 0 14.14-8.96 23.1t-22.96 8.96h-1.4q-.56 0-1.26-.14-2.38-.28-4.76-.84-2.38-.56-5.18-1.68zm0-50.12v38.92q1.96.98 3.92 1.68 1.96.56 3.92.98l1.96.28h1.96q8.68 0 14.28-6.02 5.74-6.02 5.74-15.12 0-9.8-5.18-15.12-5.04-5.46-15.26-5.46z" style="line-height:25px;-inkscape-font-specification:GillSans;text-align:start" fill="#999"/> - <path d="M359.193 326.88v7.56q-2.94 2.1-4.9 3.08-1.96.98-3.78 1.4-.84.28-1.68.28-.7.14-1.68.14-4.06 0-6.44-1.4-2.24-1.54-3.08-4.9-4.06 3.22-8.4 4.76-4.2 1.54-8.54 1.54-6.86 0-11.2-4.62-4.2-4.62-4.2-10.64 0-8.4 5.74-12.32t12.6-6.44q.84-.28 1.54-.56.84-.28 1.54-.56l11.06-4.06v-3.36q0-5.74-2.8-8.26-2.8-2.66-8.54-2.66-.7 0-1.4.14h-1.12q-4.62.56-9.1 3.08-4.34 2.52-8.26 7.14V282.5q3.64-4.2 8.82-6.3 5.18-2.1 12.04-2.1 9.52 0 16.1 5.04 6.72 4.9 6.72 15.68v32.2q0 1.96.56 2.66.7.7 1.82.7.98 0 2.66-.84 1.82-.98 3.92-2.52zm-21.42-1.54V307q-7.98 2.8-14 6.02-5.88 3.22-5.88 8.82 0 3.92 2.52 6.44 2.52 2.38 6.44 2.38 2.94 0 5.6-1.4 2.8-1.4 5.32-3.78z" fill="#999"/> - <path d="M424.676 242.6v95.48h-26.46q-14 0-22.26-8.82-8.26-8.82-8.26-23.94 0-13.72 8.82-22.4 8.82-8.82 22.54-8.82h1.26q.56 0 1.26.14 2.52.14 5.04.7 2.52.56 5.6 1.68V242.6zm-12.46 84.98v-40.04q-1.54-.56-3.08-.98-1.4-.42-2.66-.7-1.4-.28-2.94-.42-1.4-.14-2.94-.14-8.96 0-14.56 6.02-5.6 5.88-5.6 15.82 0 8.82 4.2 14.7 4.2 5.88 14.98 5.88z" fill="#999"/> + <path d="M134.986 339.34l-28.42-64.12h13.58l16.94 38.64 16.52-38.64h13.3l-27.72 64.12z" fill="#2ba9e0"/> + <path d="M225.98 319.88v12.04q-.84.7-1.82 1.26-.84.56-1.68.98-4.76 2.8-9.8 3.92-5.04 1.26-11.76 1.26-14.7 0-22.68-10.08-7.84-10.22-7.84-23.24 0-14.28 8.12-23.1 8.26-8.82 21.28-8.82 12.46 0 19.88 8.54 7.42 8.54 7.42 26.04l-44.24-.14q1.54 9.52 6.86 14.28t14.28 4.76q4.2 0 8.26-1.12 4.2-1.12 8.26-3.22 1.4-.7 2.66-1.54l2.8-1.68zm-42.84-19.6h31.64q-.28-7-4.2-11.2-3.92-4.2-10.5-4.2-7.14 0-11.48 4.06-4.2 4.06-5.46 11.48z" fill="#9acc59"/> + <path d="M252.093 336.54v33.74h-12.46v-95.06h21.56q17.22.14 26.32 8.4 9.1 8.12 9.1 23.66 0 14.14-8.96 23.1t-22.96 8.96h-1.4q-.56 0-1.26-.14-2.38-.28-4.76-.84-2.38-.56-5.18-1.68zm0-50.12v38.92q1.96.98 3.92 1.68 1.96.56 3.92.98l1.96.28h1.96q8.68 0 14.28-6.02 5.74-6.02 5.74-15.12 0-9.8-5.18-15.12-5.04-5.46-15.26-5.46z" style="line-height:25px;-inkscape-font-specification:GillSans;text-align:start" fill="#999"/> + <path d="M359.193 326.88v7.56q-2.94 2.1-4.9 3.08-1.96.98-3.78 1.4-.84.28-1.68.28-.7.14-1.68.14-4.06 0-6.44-1.4-2.24-1.54-3.08-4.9-4.06 3.22-8.4 4.76-4.2 1.54-8.54 1.54-6.86 0-11.2-4.62-4.2-4.62-4.2-10.64 0-8.4 5.74-12.32t12.6-6.44q.84-.28 1.54-.56.84-.28 1.54-.56l11.06-4.06v-3.36q0-5.74-2.8-8.26-2.8-2.66-8.54-2.66-.7 0-1.4.14h-1.12q-4.62.56-9.1 3.08-4.34 2.52-8.26 7.14V282.5q3.64-4.2 8.82-6.3 5.18-2.1 12.04-2.1 9.52 0 16.1 5.04 6.72 4.9 6.72 15.68v32.2q0 1.96.56 2.66.7.7 1.82.7.98 0 2.66-.84 1.82-.98 3.92-2.52zm-21.42-1.54V307q-7.98 2.8-14 6.02-5.88 3.22-5.88 8.82 0 3.92 2.52 6.44 2.52 2.38 6.44 2.38 2.94 0 5.6-1.4 2.8-1.4 5.32-3.78z" fill="#999"/> + <path d="M424.676 242.6v95.48h-26.46q-14 0-22.26-8.82-8.26-8.82-8.26-23.94 0-13.72 8.82-22.4 8.82-8.82 22.54-8.82h1.26q.56 0 1.26.14 2.52.14 5.04.7 2.52.56 5.6 1.68V242.6zm-12.46 84.98v-40.04q-1.54-.56-3.08-.98-1.4-.42-2.66-.7-1.4-.28-2.94-.42-1.4-.14-2.94-.14-8.96 0-14.56 6.02-5.6 5.88-5.6 15.82 0 8.82 4.2 14.7 4.2 5.88 14.98 5.88z" fill="#999"/> </svg> diff --git a/src/ui/styles/images/icons/table-move-column-ltr.svg b/src/ui/styles/images/icons/table-move-column-ltr.svg index 28b9305..444eb29 100644 --- a/src/ui/styles/images/icons/table-move-column-ltr.svg +++ b/src/ui/styles/images/icons/table-move-column-ltr.svg @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M12 5v2.47l1-.72V6h1l1.375-1H12zm3.375 0v1H16v3h-.625v1H16v3h-.625v1H16v3h-.625v1H17V5h-1.625zm0 13L14 17h-1v-.75l-1-.72V18h3.375z" id="column-from"/> - <path d="M6 5v13h5v-3.22l-1-.717V17H7v-3h2.906l-1.344-1H7v-1.125l-.5-.375.5-.375V10h1.563l1.343-1H7V6h3v2.938l1-.72V5H6z" id="column-to"/> - <path d="M14 7.71l-5.188 3.78L14 15.29z" id="arrow"/> + <path d="M12 5v2.47l1-.72V6h1l1.375-1H12zm3.375 0v1H16v3h-.625v1H16v3h-.625v1H16v3h-.625v1H17V5h-1.625zm0 13L14 17h-1v-.75l-1-.72V18h3.375z" id="column-from"/> + <path d="M6 5v13h5v-3.22l-1-.717V17H7v-3h2.906l-1.344-1H7v-1.125l-.5-.375.5-.375V10h1.563l1.343-1H7V6h3v2.938l1-.72V5H6z" id="column-to"/> + <path d="M14 7.71l-5.188 3.78L14 15.29z" id="arrow"/> </svg> diff --git a/src/ui/styles/images/icons/table-move-column-rtl.svg b/src/ui/styles/images/icons/table-move-column-rtl.svg index 533a88e..4e567d3 100644 --- a/src/ui/styles/images/icons/table-move-column-rtl.svg +++ b/src/ui/styles/images/icons/table-move-column-rtl.svg @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M11 5v2.47l-1-.72V6H9L7.625 5H11zM7.625 5v1H7v3h.625v1H7v3h.625v1H7v3h.625v1H6V5h1.625zm0 13L9 17h1v-.75l1-.72V18H7.625z" id="column-from"/> - <path d="M17 5v13h-5v-3.22l1-.717V17h3v-3h-2.906l1.344-1H16v-1.125l.5-.375-.5-.375V10h-1.563l-1.343-1H16V6h-3v2.938l-1-.72V5h5z" id="column-to"/> - <path d="M9 7.71l5.188 3.78L9 15.29z" id="arrow"/> + <path d="M11 5v2.47l-1-.72V6H9L7.625 5H11zM7.625 5v1H7v3h.625v1H7v3h.625v1H7v3h.625v1H6V5h1.625zm0 13L9 17h1v-.75l1-.72V18H7.625z" id="column-from"/> + <path d="M17 5v13h-5v-3.22l1-.717V17h3v-3h-2.906l1.344-1H16v-1.125l.5-.375-.5-.375V10h-1.563l-1.343-1H16V6h-3v2.938l-1-.72V5h5z" id="column-to"/> + <path d="M9 7.71l5.188 3.78L9 15.29z" id="arrow"/> </svg> diff --git a/src/ui/styles/images/icons/table-move-row-after.svg b/src/ui/styles/images/icons/table-move-row-after.svg index f98cd12..34be31d 100644 --- a/src/ui/styles/images/icons/table-move-row-after.svg +++ b/src/ui/styles/images/icons/table-move-row-after.svg @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M18 11h-2.47l.72-1H17V9l1-1.375V11zm0-3.375h-1V7h-3v.625h-1V7h-3v.625H9V7H6v.625H5V6h13v1.625zm-13 0L6 9v1h.75l.72 1H5V7.625z" id="column-from"/> - <path d="M18 17H5v-5h3.22l.717 1H6v3h3v-2.906l1 1.344V16h1.125l.375.5.375-.5H13v-1.563l1-1.343V16h3v-3h-2.938l.72-1H18v5z" id="column-from-to"/> - <path d="M15.29 9l-3.78 5.188L7.71 9z" id="arrow"/> + <path d="M18 11h-2.47l.72-1H17V9l1-1.375V11zm0-3.375h-1V7h-3v.625h-1V7h-3v.625H9V7H6v.625H5V6h13v1.625zm-13 0L6 9v1h.75l.72 1H5V7.625z" id="column-from"/> + <path d="M18 17H5v-5h3.22l.717 1H6v3h3v-2.906l1 1.344V16h1.125l.375.5.375-.5H13v-1.563l1-1.343V16h3v-3h-2.938l.72-1H18v5z" id="column-from-to"/> + <path d="M15.29 9l-3.78 5.188L7.71 9z" id="arrow"/> </svg> diff --git a/src/ui/styles/images/icons/table-move-row-before.svg b/src/ui/styles/images/icons/table-move-row-before.svg index 3d559af..05b8206 100644 --- a/src/ui/styles/images/icons/table-move-row-before.svg +++ b/src/ui/styles/images/icons/table-move-row-before.svg @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" id="svg3043"> - <path d="M18 12h-2.47l.72 1H17v1l1 1.375V12zm0 3.375h-1V16h-3v-.625h-1V16h-3v-.625H9V16H6v-.625H5V17h13v-1.625zm-13 0L6 14v-1h.75l.72-1H5v3.375z" id="column-from"/> - <path d="M18 6H5v5h3.22l.717-1H6V7h3v2.906l1-1.344V7h1.125l.375-.5.375.5H13v1.563l1 1.343V7h3v3h-2.938l.72 1H18V6z" id="column-to"/> - <path d="M15.29 14l-3.78-5.188L7.71 14z" id="arrow"/> + <path d="M18 12h-2.47l.72 1H17v1l1 1.375V12zm0 3.375h-1V16h-3v-.625h-1V16h-3v-.625H9V16H6v-.625H5V17h13v-1.625zm-13 0L6 14v-1h.75l.72-1H5v3.375z" id="column-from"/> + <path d="M18 6H5v5h3.22l.717-1H6V7h3v2.906l1-1.344V7h1.125l.375-.5.375.5H13v1.563l1 1.343V7h3v3h-2.938l.72 1H18V6z" id="column-to"/> + <path d="M15.29 14l-3.78-5.188L7.71 14z" id="arrow"/> </svg> diff --git a/src/ui/styles/images/resize-ne-sw.svg b/src/ui/styles/images/resize-ne-sw.svg index 85533c5..1abbd0f 100644 --- a/src/ui/styles/images/resize-ne-sw.svg +++ b/src/ui/styles/images/resize-ne-sw.svg @@ -1,8 +1,6 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11"> - <g id="resize-ne-sw"> - <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="shadow" opacity=".25" stroke="#000" stroke-width="3.5" stroke-linejoin="round" fill="none"/> - <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="outline" fill="#fff" stroke="#fff" stroke-width="2" stroke-linejoin="round"/> - <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="fill"/> - </g> + <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="shadow" opacity=".25" stroke="#000" stroke-width="3.5" stroke-linejoin="round" fill="none"/> + <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="outline" fill="#fff" stroke="#fff" stroke-width="2" stroke-linejoin="round"/> + <path d="M9 2v4l-1.5-1.5-3 3 1.5 1.5h-4v-4l1.5 1.5 3-3-1.5-1.5z" id="fill"/> </svg> diff --git a/src/ui/styles/images/resize-nw-se.svg b/src/ui/styles/images/resize-nw-se.svg index d7c5859..839c63c 100644 --- a/src/ui/styles/images/resize-nw-se.svg +++ b/src/ui/styles/images/resize-nw-se.svg @@ -1,8 +1,6 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11"> - <g id="resize-nw-se"> - <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="shadow" opacity=".25" stroke="#000" stroke-width="3.5" stroke-linejoin="round" fill="none"/> - <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="outline" fill="#fff" stroke="#fff" stroke-width="2" stroke-linejoin="round"/> - <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="fill"/> - </g> + <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="shadow" opacity=".25" stroke="#000" stroke-width="3.5" stroke-linejoin="round" fill="none"/> + <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="outline" fill="#fff" stroke="#fff" stroke-width="2" stroke-linejoin="round"/> + <path d="M2 2v4l1.5-1.5 3 3-1.5 1.5h4v-4l-1.5 1.5-3-3 1.5-1.5z" id="fill"/> </svg> -- To view, visit https://gerrit.wikimedia.org/r/389536 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I370e098c0570e017c884bdf75f5d7052f97e1abe Gerrit-PatchSet: 1 Gerrit-Project: VisualEditor/VisualEditor Gerrit-Branch: master Gerrit-Owner: Jforrester <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
