User:Ashoppio/common.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:Ashoppio/common.css. |
importScript('User:Perhelion/justReplace.js');
// STA ROBA DOVREBBE METTERE AUTOMATICAMENTE IL TEMPLATE DI ARROW NEI MIEI STEMMI
// LA CHIAMERÒ "AAA", cioè "AshoppioAutoArrow", che è anche il suono che sto facendo a scrivere tutta sta roba... :P
$(function() {
// Target when the description is likely available
$(document).on('DOMNodeInserted', function(e) {
if ($(e.target).is('#wpUploadDescription')) {
var existingText = $('#wpUploadDescription').val();
$('#wpUploadDescription').val(existingText + '\n{{attrib|Blank Coat of arms of Italian City 2.svg}}');
}
});
});