מדיה ויקי:Gadget-TemplateParamWizard.js: הבדלים בין גרסאות בדף

מ אקספלורר ישן לא אוהב פסיקים מיותרים
שורה 491: שורה 491:
$(document).ready(function() {
$(document).ready(function() {
if (typeof $.wikiEditor == 'object' && $.wikiEditor.supported)
if (typeof $.wikiEditor == 'object' && $.wikiEditor.supported)
$('#wpTextbox1').wikiEditor('addToToolbar', {
            mw.loader.using('ext.wikiEditor.toolbar', function() {
section: 'advanced',
    $('#wpTextbox1').wikiEditor('addToToolbar', {
groups: {
    section: 'advanced',
'wizards': {
    groups: {
tools: {
    'wizards': {
'linkTemplatewizard': {
    tools: {
label: i18n('button hint'),
    'linkTemplatewizard': {
type: 'button',
    label: i18n('button hint'),
icon: '//upload.wikimedia.org/wikipedia/commons/d/dd/Vector_toolbar_template_button.png',
    type: 'button',
action: {type: 'callback', execute: doIt}
    icon: '//upload.wikimedia.org/wikipedia/commons/d/dd/Vector_toolbar_template_button.png',
}
    action: {type: 'callback', execute: doIt}
}
    }
}
    }
}
    }
});
    }
    });
            });
else
else
$('div #toolbar').append( // "old style"
$('div #toolbar').append( // "old style"