19,588
edits
(does ModifySidebar() work?) |
(ModifySidebar() does work, but I don't want it right now) |
||
Line 11: | Line 11: | ||
}//</pre></onlyinclude> | }//</pre></onlyinclude> | ||
// Use test JS if we're on a test page | |||
if (wgPageName == "User:Iritscen/TestSpace" || wgPageName == "User:Iritscen/TestSpace2") | if (wgPageName == "User:Iritscen/TestSpace" || wgPageName == "User:Iritscen/TestSpace2") | ||
{ | { | ||
Line 16: | Line 17: | ||
} | } | ||
addOnloadHook(function() | // Alter the sidebar to include any handy links that only we want to see | ||
// This code is disabled but left in place since it is referred to on [[MediaWiki:Common]] | |||
/*addOnloadHook(function() | |||
{ | { | ||
ModifySidebar("sep", "navigation", "", ""); | ModifySidebar("sep", "navigation", "", ""); | ||
ModifySidebar("add", "navigation", "Slaves of War", "http://wiki.oni2.net/Oni2:Slaves_of_War"); | ModifySidebar("add", "navigation", "Slaves of War", "http://wiki.oni2.net/Oni2:Slaves_of_War"); | ||
}); | });*/ |