MediaWiki:Common.js

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (Created page with '- Any JavaScript here will be loaded for all users on every page load.: document.write(document.location);')
 
m
Line 1: Line 1:
 
/* 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. */
document.write(document.location);
+
var url = document.location;
 +
var page = url.split('/');
 +
document.write(page[5]);

Revision as of 23:52, 4 March 2010

/* Any JavaScript here will be loaded for all users on every page load. */
var url = document.location;
var page = url.split('/');
document.write(page[5]);
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools