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

מ כדי שכל האייקונים בווקטור יראו כמו וקטור
שורה 382: שורה 382:


$(document).ready(function() {
$(document).ready(function() {
var buttonImage = '//upload.wikimedia.org/wikipedia/commons/3/34/Button_LINK_HE1.png';
$('div #toolbar').append( // "old style"
$('div #toolbar').append( // "old style"
$('<img>', {src: buttonImage, title: 'תבנית קישור', 'class': 'mw-toolbar-editbutton'})
$('<img>', {src: '//upload.wikimedia.org/wikipedia/commons/3/34/Button_LINK_HE1.png', title: 'תבנית קישור', 'class': 'mw-toolbar-editbutton'})
.css({cursor: 'pointer'})
.css({cursor: 'pointer'})
.click(function() {mediaWiki.loader.using('jquery.ui.dialog', fireDialog);})
.click(function() {mediaWiki.loader.using('jquery.ui.dialog', fireDialog);})
שורה 397: שורה 396:
label: 'תבנית קישור',
label: 'תבנית קישור',
type: 'button',
type: 'button',
icon: buttonImage,
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Gnome-web-browser.svg/22px-Gnome-web-browser.svg.png',
action: {type: 'callback', execute: fireDialog}
action: {type: 'callback', execute: fireDialog}
}
}