MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 155: Line 155:
group: 'format',
group: 'format',
tools: {
tools: {
"ISDAprov": {
"Prov": {
label: 'isdaprov',
label: 'isdaprov',
type: 'button',
type: 'button',
Line 174: Line 174:
group: 'format',
group: 'format',
tools: {
tools: {
"ISDAprov": {
"Prov": {
label: 'euaprov',
label: 'euaprov',
type: 'button',
type: 'button',
Line 192: Line 192:
group: 'format',
group: 'format',
tools: {
tools: {
"gmslaprov": {
"ietaprov": {
label: 'gmslaprov',
label: 'ietaprov',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/e/e9/Gms.png',
icon: 'https://jollycontrarian.com/images/e/e9/Gms.png',
Line 199: Line 199:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{gmslaprov|",
pre: "{{ietaprov|",
post: "}}"
post: "}}"
}
}
Line 212: Line 212:
tools: {
tools: {
"gmraprov": {
"gmraprov": {
label: 'grmaprov',
label: '{{{1}}}|',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/4/49/Gmr.png',
icon: 'https://jollycontrarian.com/images/4/49/blank.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{gmraprov|",
pre: "{{{{{1}}}|",
post: "}}"
post: "}}"
}
}
Line 251: Line 251:
tools: {
tools: {
"template": {
"template": {
label: 'imcsdprov',
label: 'vmcsaprov',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/3/37/Csa.png',
icon: 'https://jollycontrarian.com/images/3/37/Csa.png',
Line 257: Line 257:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{imcsdprov|",
pre: "{{vmcsaprov|",
post: "}}"
post: "}}"
}
}
Line 391: Line 391:
});
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
section: 'advanced',
group: 'tags',
group: 'tags',
tools: {
tools: {
"template": {
"template": {
label: 'MI2002',
label: 'isdamanual',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/c/c2/MI2002.png',
icon: 'https://jollycontrarian.com/images/c/c2/MI2002.png',
Line 401: Line 401:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{manual|MI|2002|",
pre: "{{isdamanual|",
post: "|Section||short}}"
post: "}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MI2002',
type: 'button',
icon: 'https://jollycontrarian.com/images/c/c2/MI2002.png',
action: {
type: 'encapsulate',
options: {
pre: "{{manual|MI|2002|",
post: "|Section||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'DCE05',
type: 'button',
icon: 'https://jollycontrarian.com/images/8/83/DCE05.png',
action: {
type: 'encapsulate',
options: {
pre: "{{manual|DCE|2005|",
post: "|Section||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAE1995',
type: 'button',
icon: 'https://jollycontrarian.com/images/b/b3/MCAE1995.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAE|1995|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAE2016',
type: 'button',
icon: 'https://jollycontrarian.com/images/7/7d/MCAE2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAE|2016|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAN1994',
type: 'button',
icon: 'https://jollycontrarian.com/images/4/44/MCAN1994.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAN|1994|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAN2016',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAN|2016|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MSG2010',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MSG|2010|",
post: "|Clause||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MRG2000',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MRG|2000|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'DCD2014',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|DCD|2014|",
post: "|Section||medium}}"
}
}
}
}