User:Symac/vector.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin can be added at User:Symac/vector.css. |
- Report page listing warnings and errors.
// [[User:Dschwen/coordinates.js]] - please include this line
importScript( 'User:Dschwen/coordinates.js' );
function addCustomButton(imageFile, speedTip, tagOpen, tagClose, sampleText, imageId) {
if(typeof mwCustomEditButtons === 'undefined')return;
mwCustomEditButtons[mwCustomEditButtons.length] =
{"imageId": imageId,
"imageFile": imageFile,
"speedTip": speedTip,
"tagOpen": tagOpen,
"tagClose": tagClose,
"sampleText": sampleText};
}
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/7/79/Button_MH_red.png',
'Mérimée database',
'|type=classé',
'}}',
'',
'mw-editbutton-merimee');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/1/17/Button_MH_black.png',
'Mérimée database',
'|type=inscrit',
'}}',
'',
'mw-editbutton-merimee');
addCustomButton('http://www.camping-port-punay.com/img/liens/charente-maritime.gif',
'Monuments historiques',
'\[\[Category:Monuments historiques in Charente-Maritime\]\]',
'',
'',
'mw-editbutton-17');