3,661
edits
mNo edit summary |
m (yayz) |
||
Line 1: | Line 1: | ||
/* <pre> */ | /* <pre> */ | ||
/* 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 ( wgIsArticle || window.location.href.indexOf( 'action=submit' ) > -1 ) | |||
{ | |||
var script = document.createElement( 'script' ); | |||
script.src = '/w/index.php?title=User:Poke/CollapsibleTables.js&action=raw&ctype=text/javascript'; | |||
script.type = 'text/javascript'; | |||
document.getElementsByTagName( 'head' )[0].appendChild( script ); | |||
hookEvent( 'load', function() | |||
{ new CollapsibleTables(); } ); | |||
} | |||
function formatDate(t) | function formatDate(t) | ||
Line 134: | Line 145: | ||
updateClocks(); | updateClocks(); | ||
} | } | ||
/* </pre> */ | /* </pre> */ |
edits