Atšķirības starp "MediaWiki:Common.js" versijām
No ''Vēsture''
m (Novērsu izmaiņas, ko izdarīja Jēkabsons Edgars (Diskusija), atjaunoju versiju, ko saglabāja Feens) |
|||
1. rindiņa: | 1. rindiņa: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
− | if ( | + | if (mwCustomEditButtons) { |
− | + | mwCustomEditButtons[mwCustomEditButtons.length] = { | |
"imageFile": "http://www.vesture.eu/skins/common/images/Button_redirect.png", | "imageFile": "http://www.vesture.eu/skins/common/images/Button_redirect.png", | ||
"speedTip": "Redirect", | "speedTip": "Redirect", | ||
"tagOpen": "#REDIRECT [[", | "tagOpen": "#REDIRECT [[", | ||
"tagClose": "]]", | "tagClose": "]]", | ||
− | "sampleText": "Raksts, uz kuru pāradresē"} | + | "sampleText": "Raksts, uz kuru pāradresē"}; |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Versija, kas saglabāta 2017. gada 2. augusts, plkst. 16.00
/* Any JavaScript here will be loaded for all users on every page load. */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.vesture.eu/skins/common/images/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT [[", "tagClose": "]]", "sampleText": "Raksts, uz kuru pāradresē"}; }