Корисник:Anja98/extratoolbarbuttons.js — разлика између измена
Садржај обрисан Садржај додат
мНема описа измене |
мНема описа измене |
||
Ред 1:
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
Линија 6 ⟶ 5:
'group': 'format',
'tools': {
'
label: 'Шаблон',
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 28 ⟶ 27:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 50 ⟶ 49:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 72 ⟶ 71:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 94 ⟶ 93:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 116 ⟶ 115:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/0/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 138 ⟶ 137:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "{{Цитат3|",
post: "|аутор}}"
}
}
Линија 160 ⟶ 159:
'group': 'format',
'tools': {
'
label: 'Подвучен текст',
type: 'button',
Линија 182 ⟶ 181:
'group': 'format',
'tools': {
'
label: 'Прецртан текст',
type: 'button',
Линија 204 ⟶ 203:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png',
Линија 270 ⟶ 225:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "~~"
}
}
Линија 292 ⟶ 247:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "}}"
}
}
Линија 314 ⟶ 269:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "~~"
}
}
Линија 330 ⟶ 285:
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' )
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
Линија 336 ⟶ 291:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "|дд|01|2011}}"
}
}
Линија 358 ⟶ 313:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "}}"
}
Линија 380 ⟶ 335:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: ""
}
Линија 402 ⟶ 357:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 424 ⟶ 379:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
post: "~~"
}
}
Линија 446 ⟶ 401:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "|00:00, 00. мјесец 2011}}"
}
}
Линија 468 ⟶ 423:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{Добродошлица}} ~~",
▲ pre: "{{Гласање-крај|за = 0|уздржаних = 0|против = 0|слободно_поље = Чланак се не брише.}}~~~~",
post: "~~"
}
}
Линија 490 ⟶ 445:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "}}"
}
Линија 512 ⟶ 467:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "]]"
}
}
Линија 534 ⟶ 489:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "“"
}
}
Линија 556 ⟶ 511:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "==
post: " =="
}
}
Линија 578 ⟶ 533:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/
action: {
type: 'encapsulate',
options: {
pre: "
post: " ==="
}
}
Линија 600 ⟶ 555:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "]]"
}
}
Линија 616 ⟶ 571:
} );
}
|