Atšķirības starp "MediaWiki:Common.js" versijām
No ''Vēsture''
(2 starpversijas, ko mainījis viens dalībnieks, nav parādītas) | |||
3. rindiņa: | 3. rindiņa: | ||
if (mw.toolbar) { | if (mw.toolbar) { | ||
mw.toolbar.addButton({ | mw.toolbar.addButton({ | ||
− | "imageFile": "http://www.vesture.eu/ | + | "imageFile": "http://www.vesture.eu/extensions/WikiEditor/modules/images/toolbar/insert-redirect.png", |
"speedTip": "Redirect", | "speedTip": "Redirect", | ||
"tagOpen": "#REDIRECT [[", | "tagOpen": "#REDIRECT [[", | ||
9. rindiņa: | 9. rindiņa: | ||
"sampleText": "Raksts, uz kuru pāradresē"}); | "sampleText": "Raksts, uz kuru pāradresē"}); | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Pašreizējā versija, 2017. gada 2. augusts, plkst. 16.17
/* Any JavaScript here will be loaded for all users on every page load. */ if (mw.toolbar) { mw.toolbar.addButton({ "imageFile": "http://www.vesture.eu/extensions/WikiEditor/modules/images/toolbar/insert-redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT [[", "tagClose": "]]", "sampleText": "Raksts, uz kuru pāradresē"}); }