MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 40: Line 40:
pre: '----',
pre: '----',
ownline: true
ownline: true
}
}
}
}
} );
$textarea.wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
pb: {
label: '{{Ping}}',
action: {
type: 'encapsulate',
options: {
pre: '{{Ping|',
post: '}}'
}
}
}
}
Line 82: Line 99:


$textarea.wikiEditor( 'addToToolbar', {
$textarea.wikiEditor( 'addToToolbar', {
section: 'emoticons',
section: 'advanced',
groups: {
groups: {
list: {
list: {