MediaWiki:Common.js: Difference between revisions

imported>Schiffy
No edit summary
imported>Schiffy
mNo edit summary
Line 18: Line 18:
   
   
// </syntax>
// </syntax>
/* Adds {{CreativeCommons}} template to all uploads */
function preloadUploadDesc() {
if (wgPageName.toLowerCase() != 'special:upload') {
return;
}
document.getElementById('wpUploadDescription').appendChild(document.createTextNode("<!--For official Katawa Shoujo images and other images licensed under Creative Commons-->\r{{CreativeCommons}}"));
}
addOnloadHook (preloadUploadDesc)


/* Add UTC clock above articles */
/* Add UTC clock above articles */