Merge "Remove never-used tools"

This commit is contained in:
jenkins-bot 2018-03-21 19:38:23 +00:00 committed by Gerrit Code Review
commit b0a5d572d1
6 changed files with 0 additions and 231 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

View file

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg4225" 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.09449 1052.3622" xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs id="defs4227">
<linearGradient id="linearGradient4998" gradientUnits="userSpaceOnUse" gradientTransform="matrix(47.835 0 0 47.835 -154.11 -.023920)" x2="22" x1="18.5">
<stop id="stop7-0" stop-color="#ddd" offset="0"/>
<stop id="stop9-1" stop-color="#ddd" stop-opacity="0" offset="1"/>
</linearGradient>
<linearGradient id="linearGradient5000" gradientUnits="userSpaceOnUse" gradientTransform="matrix(47.835 0 0 47.835 -154.11 -.023920)" x2="22" x1="18.5">
<stop id="stop12-7" stop-color="#393a3d" offset="0"/>
<stop id="stop14-3" stop-color="#393a3d" stop-opacity="0" offset="1"/>
</linearGradient>
</defs>
<metadata id="metadata4230">
<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">
<path id="a" d="m645.21 243.45c-137.91 0-248.45 100.5-248.45 222.96v119.87c0 122.41 110.55 222.96 248.45 222.96h224.15c137.91 0 248.45-100.5 248.45-222.96v-119.87c0-122.41-110.55-222.96-248.45-222.96zm177.56 136.33c85.48 0 130.78 31.523 130.78 107.44v76.727c0 75.914-51.326 99.4-136.81 99.4h-137.72c-85.48 0-122.7-26.5-122.7-102.41v-76.727c0-75.914 43.242-104.42 128.72-104.42z" stroke="url(#linearGradient5000)" stroke-width="53.814" fill="url(#linearGradient4998)"/>
<use id="use17" xlink:href="#a" transform="matrix(-1 0 0 1 744.14 -.0000042212)" height="100%" width="100%" y="0" x="0"/>
<path id="path19" d="m284.15 319.03c16.933 19.23 45.538 62.998 53.049 86.772h69.791c7.6536-24.396 36.115-66.921 53.049-86.772zm-323.17 134.85-0.287 96.148c-1.148 56.11 94.473 183.11 269.26 183.11h284.33c174.79 0 269.07-124.56 269.26-180.72l0.287-98.683c0-22.722-15.977-49.03-45.491-72.422-53.001-5.9793-116.19 0.7654-142.16 34.919 17.316 12.102 27.696 28.414 27.696 42.19v55.44c0 34.824-55.488 60.224-163.83 60.224h-175.89c-108.35 0-163.83-25.448-163.83-60.224v-55.44c0-13.633 8.8973-29.036 27.696-42.142-36.785-36.833-82.706-37.072-134.94-37.263-31.81 24.061-51.614 51.279-52.092 74.718z" stroke="#393a3d" stroke-width="47.835" fill="#f4f4f5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

View file

@ -1,125 +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="svg6475"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="insert-xlink.svg">
<defs
id="defs6477">
<linearGradient
id="linearGradient7004">
<stop
style="stop-color:#8ea8c5;stop-opacity:1;"
offset="0"
id="stop7006" />
<stop
style="stop-color:#365f96;stop-opacity:1;"
offset="1"
id="stop7008" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7004"
id="linearGradient7010"
x1="1.9835248"
y1="1.7316169"
x2="-3.7763"
y2="15.516348"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7004"
id="linearGradient7130"
gradientUnits="userSpaceOnUse"
x1="1.9835248"
y1="1.7316169"
x2="-3.7763"
y2="15.516348" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="14.804469"
inkscape:cy="22.496339"
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="metadata6480">
<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(-364,-521.36218)">
<g
id="g7123"
transform="translate(-37.98214,-0.06250444)">
<path
transform="matrix(1.1399776,0,0,1.1399776,413.66918,522.63818)"
d="m 7.7678573,8.5848217 c 0,4.6229193 -3.7476166,8.3705363 -8.3705359,8.3705363 -4.6229193,0 -8.3705358,-3.747617 -8.3705358,-8.3705363 0,-4.6229193 3.7476165,-8.37053585 8.3705358,-8.37053585 4.6229193,0 8.3705359,3.74761655 8.3705359,8.37053585 z"
sodipodi:ry="8.3705359"
sodipodi:rx="8.3705359"
sodipodi:cy="8.5848217"
sodipodi:cx="-0.6026786"
id="path6494"
style="fill:url(#linearGradient7130);fill-opacity:1;fill-rule:nonzero;stroke:#1d497d;stroke-width:0.80000001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
sodipodi:type="arc" />
<path
inkscape:connector-curvature="0"
id="path7012"
d="m 414.36607,528.58539 0.625,1.65179 -0.9375,0.71429 -0.89286,0.80357 0.84822,1.51785 2.00893,0.89286 0.58035,3.125 0.80358,2.00893 1.02678,-0.89286 0.80357,-2.36607 0.0446,-1.38393 0.75893,-1.07143 -1.25,-1.875 -1.25,-1.25 -1.60714,-1.38392 z"
style="fill:#a2b52f;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path7014"
d="m 406.86607,533.58539 0.58036,2.8125 0.625,0.80358 0.75893,2.36607 0.80357,0.53571 0.58036,-2.27678 0.89285,-0.89286 0.71429,-0.89286 -1.16072,-1.16071 -0.98214,-1.25 -1.20536,-0.66965 -1.83035,-0.26785 -0.80357,-1.11607 -0.84822,-0.66965 1.875,-0.75893 0.625,-1.02678 0.9375,-0.66964 1.38393,-0.89286 0.58036,-0.98214 -2.09822,-0.40179 -0.84821,-0.80357 -1.16072,1.42857 -1.16071,1.38393 -0.3125,1.69643 -0.53571,1.02678 2.09821,1.78572 z"
style="fill:#a2b52f;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path7016"
d="m 410.16964,524.29968 1.20536,1.875 1.20536,-0.9375 1.5625,-0.98214 -0.22322,-0.9375 -2.76785,0.0893 z"
style="fill:#a2b52f;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path7018"
d="m 415.125,527.82647 1.42857,-0.40179 -0.0446,-1.78571 1.33929,-0.35715 1.02678,0.35715 0.89286,1.25 1.29464,1.60714 0.75893,1.83036 -0.13393,1.11607 -1.42857,1.02678 -0.98214,-1.47321 -0.89286,-1.83036 -1.33929,-0.75893 z"
style="fill:#a2b52f;fill-opacity:1;stroke:none" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -9,11 +9,6 @@
replaceIcons: function ( $textarea ) {
$textarea
.wikiEditor( 'removeFromToolbar', { section: 'main', group: 'insert', tool: 'xlink' } )
.wikiEditor( 'removeFromToolbar', { section: 'main', group: 'insert', tool: 'ilink' } )
.wikiEditor( 'removeFromToolbar', { section: 'main', group: 'insert', tool: 'file' } )
.wikiEditor( 'removeFromToolbar', { section: 'main', group: 'insert', tool: 'reference' } )
.wikiEditor( 'removeFromToolbar', { section: 'advanced', group: 'insert', tool: 'table' } )
.wikiEditor( 'addToToolbar', {
section: 'main',
group: 'insert',

View file

@ -134,63 +134,6 @@
},
insert: {
tools: {
xlink: {
labelMsg: 'wikieditor-toolbar-tool-xlink',
type: 'button',
icon: 'insert-xlink.png',
offset: [ -70, 2 ],
action: {
type: 'encapsulate',
options: {
pre: '[',
periMsg: 'wikieditor-toolbar-tool-xlink-example',
post: ']'
}
}
},
ilink: {
labelMsg: 'wikieditor-toolbar-tool-ilink',
type: 'button',
icon: 'insert-ilink.png',
offset: [ 2, -1582 ],
action: {
type: 'encapsulate',
options: {
pre: '[[',
periMsg: 'wikieditor-toolbar-tool-ilink-example',
post: ']]'
}
}
},
file: {
labelMsg: 'wikieditor-toolbar-tool-file',
type: 'button',
icon: 'insert-file.png',
offset: [ 2, -1438 ],
action: {
type: 'encapsulate',
options: {
pre: '[[' + fileNamespace + ':',
periMsg: 'wikieditor-toolbar-tool-file-example',
post: '|' + mw.config.get( 'wgWikiEditorMagicWords' ).img_thumbnail + ']]'
}
}
},
reference: {
labelMsg: 'wikieditor-toolbar-tool-reference',
filters: [ 'body.ns-subject' ],
type: 'button',
offset: [ 2, -1798 ],
icon: 'insert-reference.png',
action: {
type: 'encapsulate',
options: {
pre: '<ref>',
periMsg: 'wikieditor-toolbar-tool-reference-example',
post: '</ref>'
}
}
},
signature: {
labelMsg: 'wikieditor-toolbar-tool-signature',
type: 'button',
@ -434,22 +377,6 @@
}
}
},
table: {
labelMsg: 'wikieditor-toolbar-tool-table',
type: 'button',
icon: 'insert-table.png',
offset: [ 2, -1942 ],
filters: [ '#wpTextbox1:not(.toolbar-dialogs)' ],
action: {
type: 'encapsulate',
options: {
pre: '{| class="wikitable" border="1"\n|',
periMsg: 'wikieditor-toolbar-tool-table-example-old',
post: '\n|}',
ownline: true
}
}
},
redirect: {
labelMsg: 'wikieditor-toolbar-tool-redirect',
type: 'button',