Convert remaining tools to OOUI

Replaces the insert and advanced-insert groups, which
are currently multi-colour icons.

Drops the button-sprite + offset mode, according to
mwgrep there are no other users of this.

Bug: T191031
Bug: T143508
Change-Id: I7032f98908a591ea5c9d3dbbb7616e2c10bbfc80
This commit is contained in:
Ed Sanders 2018-03-30 00:20:24 +01:00
parent 5dd46f9943
commit 72e48c26e0
26 changed files with 21 additions and 608 deletions

View file

@ -280,9 +280,12 @@
"mediawiki.Title",
"mediawiki.Upload.Dialog",
"mediawiki.user",
"oojs-ui.styles.icons-content",
"oojs-ui.styles.icons-editing-advanced",
"oojs-ui.styles.icons-editing-core",
"oojs-ui.styles.icons-editing-list",
"oojs-ui.styles.icons-editing-styling"
"oojs-ui.styles.icons-editing-styling",
"oojs-ui.styles.icons-media"
]
},
"ext.wikiEditor.styles": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 860 B

View file

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg8549" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs id="defs8551">
<radialGradient id="radialGradient9185" gradientUnits="userSpaceOnUse" cy="9.0203" cx="31.994" gradientTransform="matrix(1.5459 -.89509 .42455 .72968 727.79 718.64)" r="6.8661">
<stop id="stop9102" stop-color="#f4f5f4" offset="0"/>
<stop id="stop9104" stop-color="#f4f5f4" stop-opacity="0" offset="1"/>
</radialGradient>
<radialGradient id="radialGradient9190" gradientUnits="userSpaceOnUse" cy="16.796" cx="30.513" gradientTransform="matrix(1.5529 -1.1868e-7 7.6106e-8 .99585 732.27 685.88)" r="3.1406">
<stop id="stop9126" stop-color="#ffedbc" offset="0"/>
<stop id="stop9128" stop-color="#f7eca1" offset="1"/>
</radialGradient>
<linearGradient id="linearGradient9194" y2="702.22" gradientUnits="userSpaceOnUse" x2="805.19" gradientTransform="translate(-22.749 .23884)" y1="693.06" x1="805.19">
<stop id="stop9092" stop-color="#766649" offset="0"/>
<stop id="stop9094" stop-color="#e6a540" offset="1"/>
</linearGradient>
</defs>
<metadata id="metadata8554">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-771.86 -687.08)">
<path id="rect8568" stroke-linejoin="round" d="m773.34 690.56v15.031h15.688l1.6875-1.6875 1.625-1.5938v-11.75h-19z" stroke="#979995" stroke-linecap="square" stroke-width=".98371" fill="#f4f5f4"/>
<rect id="rect9088" height="10.804" width="14.783" stroke="#8a8475" stroke-linecap="square" stroke-miterlimit="1.5" y="692.72" x="775.42" stroke-width=".98447" fill="url(#linearGradient9194)"/>
<path id="path9114" d="m784.01 702.6 0.0601-2.9358-1.2603-1.9364-1.8605-1.2493 1.8005 0.62463-0.26028-1.4679-1.8253-2.1976 1.3236 0.61702 0.91039 1.0376 0.35492 1.3173 0.18635 0.79469 1.1706 1.7905 2.0412-1.9204 1.6798-2.4074-0.62239 2.5323-2.3224 2.5461v2.9745z" fill="#001700"/>
<path id="path9118" d="m779.67 699.11c-1.7317 0-3.125 1.3933-3.125 3.125 0 0.1736 0.0354 0.33407 0.0625 0.5h6.1562c0.0271-0.16593 0.0625-0.3264 0.0625-0.5 0-1.7317-1.4245-3.125-3.1562-3.125z" fill="url(#radialGradient9190)"/>
<path id="path9112" fill="#193119" d="m775.9 703.05h13.732v-0.54833h-13.78z"/>
<path id="path9086" d="m789.04 705.53 3.3259-3.3259h-3.3259z" stroke="#979995" stroke-miterlimit="1.5" fill="#f4f5f4"/>
<path id="path9098" opacity=".31132" d="m775.97 700.54s1.7955-2.8132 6.3571-4.8635c4.3496-1.9549 7.3609-2.4794 7.3609-2.4794h-13.766z" fill="url(#radialGradient9185)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

View file

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg9197" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs id="defs9199">
<radialGradient id="radialGradient9772" gradientUnits="userSpaceOnUse" cy="6.458" cx="8.1703" gradientTransform="matrix(-1.0337 .97885 -.83095 -1.1642 881.62 640.19)" r="5.4585">
<stop id="stop9762" stop-color="#fff" offset="0"/>
<stop id="stop9764" stop-color="#fff" stop-opacity="0" offset="1"/>
</radialGradient>
<linearGradient id="linearGradient9784" y2="8.18" gradientUnits="userSpaceOnUse" x2="17.905" gradientTransform="matrix(1.1632 0 0 1.3512 858.27 629.03)" y1="12.735" x1="7.7879">
<stop id="stop9780" stop-color="#f0a829" offset="0"/>
<stop id="stop9782" stop-color="#f0ad3e" offset="1"/>
</linearGradient>
<filter id="filter9873">
<feGaussianBlur id="feGaussianBlur9875" stdDeviation="0.12340545"/>
</filter>
</defs>
<metadata id="metadata9202">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-860.43 -632.79)">
<g id="g9740" transform="matrix(.96584 -.25915 .25915 .96584 -155.71 250.69)">
<rect id="rect9216" height="10.079" width="15.655" stroke="#88897f" y="638.24" x="883.86" stroke-width=".92526" fill="#fefefe"/>
<rect id="rect9726" height="7.0982" width="12.768" y="639.75" x="885.29" fill="#88acd3"/>
</g>
<g id="g9732" transform="matrix(.94981 .31284 -.31284 .94981 225.24 -243.05)">
<rect id="rect9734" height="10.079" width="15.655" stroke="#88897f" y="638.24" x="883.86" stroke-width=".92526" fill="#fefefe"/>
<rect id="rect9736" height="7.0982" width="12.768" y="639.75" x="885.29" fill="#6bbe21"/>
</g>
<g>
<rect id="rect9746" height="10.079" width="15.655" stroke="#88897f" y="638.32" x="865.34" stroke-width=".92526" fill="#fefefe"/>
<rect id="rect9774" height="7.0936" width="12.698" y="639.78" x="866.73" fill="url(#linearGradient9784)"/>
<path id="path9756" d="m13.872 11.5a1.5298 1.5298 0 0 1 -1.5298 1.5298 1.5298 1.5298 0 0 1 -1.5298 -1.5298 1.5298 1.5298 0 0 1 1.5298 -1.5298 1.5298 1.5298 0 0 1 1.5298 1.5298z" transform="translate(860.6 632.93)" fill="#fff"/>
<rect id="rect9758" opacity=".73899" height="7.0336" width="12.698" y="639.81" x="866.76" fill="url(#radialGradient9772)"/>
</g>
<path id="path9752" d="m866.75 646.07 1.9194-0.11086 0.32595-0.96072 1.1951-1.1455 0.97784 1.1085 1.7022 0.25865 2.6076-0.25865 0.50702-0.99768 1.4124 0.36951 1.0503 1.2933 1.0503 0.44342v0.84987h-12.712z"/>
<path id="rect9748" opacity=".45912" d="m6.3438 7.0312v7.125h12.75v-7.125h-12.75zm0.71875 0.6875h11.125v5.7188h-11.125v-5.7188z" transform="matrix(1.0187 0 0 1.0634 860.13 632.15)" filter="url(#filter9873)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 B

View file

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg7700" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata id="metadata7705">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-843.29 -701.36)">
<g id="g8544" transform="translate(-.03819)" stroke="#393a3d" stroke-linecap="square">
<path id="rect8508" d="m847.87 708.69c-1.7888 0-3.2224 1.3037-3.2224 2.8916v1.5547c0 1.5879 1.4336 2.8916 3.2224 2.8916h2.9071c1.7888 0 3.2224-1.3037 3.2224-2.8916v-1.5547c0-1.5879-1.4336-2.8916-3.2224-2.8916zm0.51649 1.7681h1.7863c1.1088 0 1.696 0.40915 1.696 1.3934v0.99498c0 0.9843-0.66558 1.2889-1.7744 1.2889h-1.7863c-1.1088 0-1.5915-0.34383-1.5915-1.3281v-0.99498c0-0.98429 0.56108-1.3542 1.6699-1.3542z" stroke-width=".69803" fill="#dcdcdc"/>
<path id="path8520" d="m857.87 708.69c-1.7888 0-3.2224 1.3037-3.2224 2.8916v1.5547c0 1.5879 1.4336 2.8916 3.2224 2.8916h2.9071c1.7888 0 3.2224-1.3037 3.2224-2.8916v-1.5547c0-1.5879-1.4336-2.8916-3.2224-2.8916zm0.51649 1.7681h1.7863c1.1088 0 1.696 0.40915 1.696 1.3934v0.99498c0 0.9843-0.66558 1.2889-1.7744 1.2889h-1.7863c-1.1088 0-1.5915-0.34383-1.5915-1.3281v-0.99498c0-0.98429 0.56108-1.3542 1.6699-1.3542z" stroke-width=".69803" fill="#dcdcdc"/>
<path id="path8522" d="m9.9062 8.3125c0.21938 0.24938 0.40017 0.53534 0.53125 0.84375h1.2188c0.133-0.3165 0.311-0.5861 0.532-0.8437h-2.2812zm-3.5312 0.7813c-0.4128 0.3102-0.65 0.6653-0.6562 0.9682l-0.03125 1.25c-0.0151 0.72807 1.2641 2.375 3.5312 2.375h3.6875c2.2671 0 3.4688-1.6155 3.4688-2.3438v-1.2812c0-0.29493-0.21104-0.63488-0.59375-0.9375h-0.4375c-0.63503 0-1.1133 0.14044-1.4062 0.4375 0.22482 0.15724 0.34375 0.35249 0.34375 0.53125v0.75c0 0.45142-0.90722 0.78125-2.3125 0.78125h-2.2812c-1.4066 0.001-1.9388-0.329-1.9388-0.78v-0.6875c0-0.17673 0.13066-0.39245 0.375-0.5625-0.29432-0.33146-0.78594-0.5-1.4375-0.5h-0.3125z" transform="translate(843.29 701.36)" stroke-width="0.6" fill="#f4f4f5"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 B

View file

@ -1,103 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="insert-redirect-rtl.svg">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6439"
id="linearGradient6454"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-46,0)"
x1="880.47321"
y1="718.15826"
x2="880.47321"
y2="738.3028" />
<linearGradient
inkscape:collect="always"
id="linearGradient6439">
<stop
style="stop-color:#e5e7e2;stop-opacity:1;"
offset="0"
id="stop6441" />
<stop
style="stop-color:#e5e7e2;stop-opacity:0;"
offset="1"
id="stop6443" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="12.3125"
inkscape:cy="13.904511"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1366"
inkscape:window-height="705"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g6449"
transform="matrix(-1,0,0,1,845.74039,-712.78619)">
<rect
y="714.24237"
x="824.81775"
height="19.087818"
width="16.141386"
id="rect5927"
style="opacity:0.87735847;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#cccdca;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<rect
y="715.54968"
x="826.21429"
height="16.294643"
width="13.214286"
id="rect6437"
style="opacity:0.87735847;fill:url(#linearGradient6454);fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path
sodipodi:nodetypes="csccccccc"
inkscape:connector-curvature="0"
id="path6447"
d="m 835.61419,718.03653 c 0,0 -2.85604,2.15041 -2.88205,5.68281 -0.0434,5.8954 6.51786,6.38393 6.51786,6.38393 l 0,2.99107 5.51339,-5.51339 -5.55803,-5.55804 0,3.83929 c 0,0 -4.49554,0.91071 -4.71875,-2.39286 -0.1521,-1.68723 -0.19967,-3.02945 1.12758,-5.43281 z"
style="fill:#127ea5;fill-opacity:1;stroke:#003553;stroke-width:0.80000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 B

View file

@ -1,118 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg5908"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="insert-redirect.svg">
<defs
id="defs5910">
<linearGradient
inkscape:collect="always"
id="linearGradient6439">
<stop
style="stop-color:#e5e7e2;stop-opacity:1;"
offset="0"
id="stop6441" />
<stop
style="stop-color:#e5e7e2;stop-opacity:0;"
offset="1"
id="stop6443" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6439"
id="linearGradient6445"
x1="880.47321"
y1="718.15826"
x2="880.47321"
y2="738.3028"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-46,0)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6439"
id="linearGradient6454"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-46,0)"
x1="880.47321"
y1="718.15826"
x2="880.47321"
y2="738.3028" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="8.8237211"
inkscape:cy="12.411871"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1366"
inkscape:window-height="705"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata5913">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-889,-712.79077)">
<g
id="g6449"
transform="translate(65.093776,0.00449032)">
<rect
y="714.24237"
x="824.81775"
height="19.087818"
width="16.141386"
id="rect5927"
style="opacity:0.87735847;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#cccdca;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="715.54968"
x="826.21429"
height="16.294643"
width="13.214286"
id="rect6437"
style="opacity:0.87735847;fill:url(#linearGradient6454);fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path
sodipodi:nodetypes="csccccccc"
inkscape:connector-curvature="0"
id="path6447"
d="m 835.61419,718.03653 c 0,0 -2.85604,2.15041 -2.88205,5.68281 -0.0434,5.8954 6.51786,6.38393 6.51786,6.38393 l 0,2.99107 5.51339,-5.51339 -5.55803,-5.55804 0,3.83929 c 0,0 -4.49554,0.91071 -4.71875,-2.39286 -0.1521,-1.68723 -0.19967,-3.02945 1.12758,-5.43281 z"
style="fill:#127ea5;fill-opacity:1;stroke:#003553;stroke-width:0.80000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

View file

@ -1,88 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg7132"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Nowy dokument 27">
<defs
id="defs7134" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.839192"
inkscape:cx="-9.8129606"
inkscape:cy="7.4207416"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
inkscape:window-height="1041"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7137">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-714.71429,-701.36218)">
<g
id="g7675"
transform="translate(26.036511,-0.0978784)">
<path
sodipodi:nodetypes="ccscscc"
inkscape:connector-curvature="0"
id="path7155"
d="m 691.68161,706.63153 -1.45209,12.6269 c 0,0 3.54369,-1.49312 6.50286,-0.88388 2.14658,0.44194 3.34613,1.38896 3.34613,1.38896 0,0 2.77792,-2.39911 6.12405,-1.6415 3.34613,0.75762 2.90418,0.69448 2.90418,0.69448 l -1.19955,-12.2481"
style="fill:#52394e;fill-opacity:1;stroke:#52394e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccsccsc"
inkscape:connector-curvature="0"
id="path7151"
d="m 692.06042,707.26287 -0.82075,10.60661 c 0,0 2.39912,-1.76777 4.9245,-1.19956 2.84205,0.63945 3.47239,1.76776 3.47239,1.76776 l 0,-12.6269 c 0,0 -2.58851,-1.89404 -4.86135,-0.82075 -2.27285,1.07329 -2.71479,2.27284 -2.71479,2.27284 z"
style="fill:#ffffff;fill-opacity:1;stroke:#b1b2af;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="csccscc"
inkscape:connector-curvature="0"
id="path7153"
d="m 699.63656,706.06332 c 0,0 2.27285,-2.14658 4.98763,-1.13642 2.71479,1.01015 2.65165,2.0203 2.65165,2.0203 l 1.01016,10.79601 c 0,0 -1.95717,-1.26269 -4.29315,-0.69448 -2.33598,0.56821 -3.53553,1.76776 -3.53553,1.76776 z"
style="fill:#ffffff;fill-opacity:1;stroke:#b1b2af;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="csc"
inkscape:connector-curvature="0"
id="path7157"
d="m 699.8891,706.56839 c 0,0 -0.31573,1.12962 2.28105,5.17626 2.65428,4.13625 2.07524,6.56677 2.07524,6.56677"
style="fill:none;stroke:#c04848;stroke-width:1.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 748 B

View file

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg id="svg2" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 744.1 1052.36" xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata id="metadata57">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id="defs4">
<linearGradient id="b" y2="13.22" gradientUnits="userSpaceOnUse" y1="10.27" x2="38.8" x1="27.8">
<stop id="stop7" stop-color="#014" offset="0"/>
<stop id="stop9" stop-color="#579" offset=".5"/>
<stop id="stop11" stop-color="#014" offset="1"/>
</linearGradient>
<radialGradient id="g" gradientUnits="userSpaceOnUse" cy="45" cx="2.7" gradientTransform="matrix(29.03 .2224 -.07362 9.612 -167 540.2)" r="11">
<stop id="stop14" offset="0"/>
<stop id="stop16" stop-opacity="0" offset="1"/>
</radialGradient>
<linearGradient id="c" x1="24.84" gradientUnits="userSpaceOnUse" x2="37.4" gradientTransform="matrix(22.865 0 0 22.865 -154.11 .2025)" y1="22.41" y2="25.75">
<stop id="stop19" stop-color="#888" offset="0"/>
<stop id="stop21" stop-color="#fff" offset=".5"/>
<stop id="stop23" stop-color="#888" offset="1"/>
</linearGradient>
<linearGradient id="d" y2="1888.3" xlink:href="#b" gradientUnits="userSpaceOnUse" y1="1887.9" gradientTransform="matrix(47.835,0,0,47.835,-169.9,-89523)" x2="14.54" x1="13.155"/>
<linearGradient id="f" x1="13.5" gradientUnits="userSpaceOnUse" y1="1877" gradientTransform="matrix(47.835,0,0,47.835,-169.9,-89523)" x2="19.72" y2="1878.7">
<stop id="stop27" stop-color="#248" offset="0"/>
<stop id="stop29" stop-color="#4ae" offset=".5"/>
<stop id="stop31" stop-color="#248" offset="1"/>
</linearGradient>
<linearGradient id="a" x1="13.62" xlink:href="#b" gradientUnits="userSpaceOnUse" y1="1877.1" gradientTransform="matrix(47.835,0,0,47.835,-169.9,-89523)" x2="19.56" y2="1878.7"/>
<linearGradient id="e" x1="14.04" gradientUnits="userSpaceOnUse" y1="1874.7" gradientTransform="matrix(47.835,0,0,47.835,-169.9,-89523)" x2="14.43" y2="1873.2">
<stop id="stop35" stop-color="#fff" stop-opacity="0" offset="0"/>
<stop id="stop37" stop-color="#fff" offset="1"/>
</linearGradient>
</defs>
<g id="g4185">
<path id="path39" d="m236.82 741.64c-20.703 86.581-64.003 167.52-126.09 231.52 80.937-43.291 146.81-109.16 191.96-188.23 33.877 60.224 67.543 112.46 114.56 161.4 26.491 10.562-3.5293-35.297-11.059-54.101l-99.736-171.3-52.714 79.071 20.703-82.802-312.41-1.8823c-64.003 26.348-96.005 109.16-62.09 171.3 28.232 56.445 101.65 82.802 157.62 56.445 96.005-37.641 129.87-176.94 60.224-255.97-30.112-33.877-77.971-49.414-85.481-96.483-16.938-73.427 3.7641-145.42 71.513-186.84 48.935-31.997 124.23-22.588 156.23 28.232 30.112 43.291 15.058 111.03-31.997 133.65-30.112 22.588-71.513-41.406-88.447 5.6445-7.5292 33.877 35.761 45.171 58.359 30.112 56.11-34.059 103.08-77.158 111.03-144.94 9.4091-48.935-22.588-103.51-73.427-111.03-64.003-11.294-122.36 26.348-167.52 67.304-73.427 64.003-105.38 160.49-67.304 252.71 16.938 41.406 61.037 56.971 92.991 87.06 35.761 31.997 47.055 89.882 15.058 128.01-30.112 41.406-96.005 37.641-131.74 5.6445-37.641-30.112-73.427-82.802-50.801-131.74 13.174-26.348 43.291-35.761 69.648-33.877 58.359 0 116.67-5.6445 173.16 0 24.468 3.7641 47.055 9.4091 67.304 20.703m82.037-56.971c-13.174-62.09 32.786-86.581 64.769-112.46 5.6445-3.7641 9.4091 0 3.7641 5.6445-9.4091 22.588-31.997 40.024-28.232 66.395 0 11.294-38.431 46.553-40.315 40.904"/>
<g id="g41" stroke-linejoin="round" transform="matrix(.99255 .12187 -.12187 .99255 92.973 -65.57)">
<ellipse id="ellipse43" opacity=".4" rx="322.32" ry="105.7" transform="rotate(-43.014)" cy="976" cx="-94.7" fill="url(#g)"/>
<path id="path45" stroke="#014" stroke-width="12.8" fill="url(#c)" d="m413.86 511.7 29.496 444.5 8.2314 2.2865 249-369.96"/>
<path id="path47" fill="url(#d)" d="m437.6 779.91 11.959 173.64 98.54-143.5"/>
<path id="path49" stroke="url(#a)" stroke-width="12.9" fill="url(#f)" d="m529.93 86.306-115.76 426.21 287.01 76.536 115.28-425.73"/>
<path id="path51" stroke="url(#a)" stroke-width="9.57" fill="none" d="m635.16 564.66 113.37-421.43m-154.03-41.138-113.37 421.9"/>
<path id="path53" fill="url(#e)" d="m520.36 81.522-18.66 70.318 307.1 82.28 18.66-70.32-307.1-82.278"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

View file

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg4674" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata id="metadata4679">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-754.71 -709.93)">
<g id="g6398">
<g>
<rect id="rect4693" stroke-linejoin="round" transform="matrix(.99817 0 0 1.0179 1.3829 -13.086)" height="15.993" filter="url(#filter6043)" width="19.028" stroke="#8c8e89" stroke-miterlimit="1" y="712.74" x="756.22" stroke-width="1.0007" fill="#e6e6e6"/>
<g>
<rect id="rect6055" height="2" width="16" y="713.93" x="757.71" fill="#a0bdd9"/>
<rect id="rect6057" height="10.047" width="3" y="716.93" x="757.71" fill="#cfd0c8"/>
<rect id="rect6059" height="11.04" width="11.985" y="715.94" x="761.7" fill="#f0f2eb"/>
</g>
</g>
<g fill="none">
<path id="path6061" opacity=".24843" d="m761.22 726.44v-12.014" stroke="#000" stroke-linecap="square" stroke-width=".99644"/>
<path id="path6061-6" opacity=".24843" d="m765.95 726.93v-13.125" stroke-width="0"/>
<g stroke="#000" stroke-linecap="square">
<path id="path6061-65" opacity=".24843" d="m765.48 726.43v-12.014"/>
<path id="path6061-5" opacity=".24843" d="m770.34 726.43v-12.014"/>
<path id="path6061-68" opacity=".24843" d="m773.21 719.34h-14.984" stroke-width="1.0081"/>
<path id="path6061-68-8" opacity=".24843" d="m773.21 716.43h-14.999"/>
<path id="path6061-68-84" opacity=".24843" d="m773.21 722.4h-14.984" stroke-width="1.0081"/>
<path id="path6061-68-9" opacity=".24843" d="m773.21 726.43h-14.984" stroke-width="1.0081"/>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

View file

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg10519" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs id="defs10521">
<linearGradient id="linearGradient11142" y2="728.31" gradientUnits="userSpaceOnUse" x2="818.53" gradientTransform="translate(66.374 4.6114)" y1="729.21" x1="819.43">
<stop id="stop11079" stop-color="#a48757" offset="0"/>
<stop id="stop11081" stop-color="#eeeac6" offset="1"/>
</linearGradient>
<linearGradient id="linearGradient11144" y2="725.49" gradientUnits="userSpaceOnUse" x2="813.53" gradientTransform="translate(55.608 8.9694)" y1="726.62" x1="814.56">
<stop id="stop11105" stop-color="#b8b8b7" offset="0"/>
<stop id="stop11107" stop-color="#a3a4a3" offset="1"/>
</linearGradient>
<radialGradient id="radialGradient11146" gradientUnits="userSpaceOnUse" cy="4.3959" cx="6.7155" r="5.4277">
<stop id="stop11113" stop-color="#e6edf5" offset="0"/>
<stop id="stop11115" stop-color="#7da2cc" stop-opacity=".58333" offset="1"/>
</radialGradient>
</defs>
<metadata id="metadata10524">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-823.29 -718.51)">
<g id="g11129" transform="matrix(.87946 0 0 .87946 60.517 83.917)">
<rect id="rect10538" stroke-linejoin="round" height="17.015" width="14.186" stroke="#878984" y="725.57" x="869.68" fill="#fefefe"/>
<rect id="rect11048" height="14.098" width="11.049" y="726.98" x="871.19" fill="#eaeaea"/>
<g fill="#c6c6c5">
<rect id="rect11050" height="1.1049" width="8.9714" y="729.06" x="872.24"/>
<rect id="rect11052" height="1.1049" width="8.9714" y="731.06" x="872.24"/>
<rect id="rect11054" height="1.1049" width="8.9714" y="735.06" x="872.24"/>
</g>
<g id="g11125">
<path id="path11075" d="m880 736.45 9.3029-9.4354 2.4528 2.3423-9.3029 9.2587-3.9775 1.6794z" stroke="#804f01" stroke-miterlimit="2" stroke-width="0.7" fill="url(#linearGradient11142)"/>
<path id="path11085" d="m878.69 738.79-1.0275 2.3312 2.3754-1.0938z"/>
</g>
<g id="g11121" stroke="#878984">
<path id="path11097" d="m870.4 732.43-2.4558 2.4558v1.9905h1.6286l2.6367-2.6367" stroke-width="0.8" fill="url(#linearGradient11144)"/>
<path id="path11101" d="m11.91 5.9796a4.9277 4.9277 0 0 1 -4.9273 4.9274 4.9277 4.9277 0 0 1 -4.9277 -4.9274 4.9277 4.9277 0 0 1 4.9277 -4.9276 4.9277 4.9277 0 0 1 4.9273 4.9276z" transform="matrix(.92061 0 0 .92061 867.89 724.95)" fill="url(#radialGradient11146)"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -16,8 +16,7 @@
link: {
labelMsg: 'wikieditor-toolbar-tool-link',
type: 'button',
icon: 'insert-link.png',
offset: [ 2, -1654 ],
oouiIcon: 'link',
action: {
type: 'dialog',
module: 'insert-link'
@ -26,8 +25,7 @@
file: {
labelMsg: 'wikieditor-toolbar-tool-file',
type: 'button',
icon: 'insert-file.png',
offset: [ 2, -1438 ],
oouiIcon: 'image',
action: {
type: 'dialog',
module: 'insert-file'
@ -37,8 +35,7 @@
labelMsg: 'wikieditor-toolbar-tool-reference',
filters: [ 'body.ns-subject' ],
type: 'button',
icon: 'insert-reference.png',
offset: [ 2, -1798 ],
oouiIcon: 'book',
action: {
type: 'dialog',
module: 'insert-reference'
@ -53,8 +50,7 @@
table: {
labelMsg: 'wikieditor-toolbar-tool-table',
type: 'button',
icon: 'insert-table.png',
offset: [ 2, -1942 ],
oouiIcon: 'table',
action: {
type: 'dialog',
module: 'insert-table'
@ -70,8 +66,7 @@
replace: {
labelMsg: 'wikieditor-toolbar-tool-replace',
type: 'button',
icon: 'search-replace.png',
offset: [ -70, -214 ],
oouiIcon: 'find',
action: {
type: 'dialog',
module: 'search-and-replace'

View file

@ -155,37 +155,15 @@
*
* @param {Object} icon Icon object from e.g. toolbar config
* @param {string} path Default icon path, defaults to $.wikiEditor.imgPath
* @return {string}
*/
autoIcon: function ( icon, path ) {
var src = $.wikiEditor.autoLang( icon );
path = path || $.wikiEditor.imgPath;
// Prepend path if src is not absolute
if ( src.substr( 0, 7 ) !== 'http://' && src.substr( 0, 8 ) !== 'https://' && src[ 0 ] !== '/' ) {
src = path + src;
}
return src + '?' + mw.loader.getVersion( 'jquery.wikiEditor' );
},
/**
* Get the sprite offset for a language if available, icon for a language if available, or the default offset or icon,
* in that order of preference.
*
* @param {Object} icon Icon object, see autoIcon()
* @param {Object} offset Offset object
* @param {string} path Icon path, see autoIcon()
* @return {Object}
*/
autoIconOrOffset: function ( icon, offset, path ) {
autoIcon: function ( icon, path ) {
var i, key, src;
path = path || $.wikiEditor.imgPath;
for ( i = 0; i < fallbackChain.length; i++ ) {
key = fallbackChain[ i ];
if ( offset && hasOwn.call( offset, key ) ) {
return offset[ key ];
}
if ( icon && hasOwn.call( icon, key ) ) {
src = icon[ key ];
// Prepend path if src is not absolute
@ -195,7 +173,7 @@
return src + '?' + mw.loader.getVersion( 'jquery.wikiEditor' );
}
}
return offset || icon;
return icon;
}
};

View file

@ -56,8 +56,7 @@
signature: {
labelMsg: 'wikieditor-toolbar-tool-signature',
type: 'button',
offset: [ 2, -1870 ],
icon: 'insert-signature.png',
oouiIcon: 'signature',
action: {
type: 'encapsulate',
options: {
@ -261,8 +260,7 @@
gallery: {
labelMsg: 'wikieditor-toolbar-tool-gallery',
type: 'button',
icon: 'insert-gallery.png',
offset: [ 2, -1510 ],
oouiIcon: 'imageGallery',
action: {
type: 'encapsulate',
options: {
@ -279,14 +277,7 @@
redirect: {
labelMsg: 'wikieditor-toolbar-tool-redirect',
type: 'button',
icon: {
'default': 'insert-redirect.png',
'default-rtl': 'insert-redirect-rtl.png'
},
offset: {
'default': [ -70, -142 ],
'default-rtl': [ -70, -502 ]
},
oouiIcon: 'articleRedirect',
action: {
type: 'encapsulate',
options: {

View file

@ -305,7 +305,7 @@
return $group;
},
buildTool: function ( context, id, tool ) {
var i, label, $button, offsetOrIcon, $select, $options, oouiButton,
var i, label, $button, icon, $select, $options, oouiButton,
option, optionLabel;
if ( 'filters' in tool ) {
for ( i = 0; i < tool.filters.length; i++ ) {
@ -337,18 +337,12 @@
'class': 'tool tool-button'
} )
.text( label );
offsetOrIcon = $.wikiEditor.autoIconOrOffset(
tool.icon,
tool.offset,
$.wikiEditor.imgPath + 'toolbar/'
);
if ( typeof offsetOrIcon === 'object' ) {
$button
.addClass( 'wikiEditor-toolbar-spritedButton' )
.css( 'backgroundPosition', offsetOrIcon[ 0 ] + 'px ' + offsetOrIcon[ 1 ] + 'px' );
} else if ( offsetOrIcon !== undefined ) { // Bug T172500
$button
.css( 'background-image', 'url(' + offsetOrIcon + ')' );
if ( tool.icon ) {
icon = $.wikiEditor.autoIcon(
tool.icon,
$.wikiEditor.imgPath + 'toolbar/'
);
$button.css( 'background-image', 'url(' + icon + ')' );
}
}
$button.data( 'setActive', function ( active ) {

View file

@ -328,11 +328,6 @@
overflow: hidden;
}
/* Sprited buttons */
.wikiEditor-toolbar-spritedButton {
.background-image-svg('images/toolbar/button-sprite.svg', 'images/toolbar/button-sprite.png');
}
/* OOUI buttons */
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
margin: 0;