User:Cnriaczoy42~enwiki/.js

// User:Lupin/popups.js

document.write(' ');

import_module('Wikipedia:WikiProject User scripts/Scripts/Show last diff'); import_module('Wikipedia:WikiProject User scripts/Scripts/Fix lowercase first letter problem'); import_module('Wikipedia:WikiProject User scripts/Scripts/Add tab'); import_module('Wikipedia:WikiProject User scripts/Scripts/Add LI link');

/* Takes the wikipage "page" and includes its raw text as javascript. */ function import_module(page){ if( document.createElement && document.childNodes ) { var url = 'http://en.wikipedia.org/w/index.php?title=' + page.replace(/ /g, "_") + '&action=raw&ctype=text/javascript&dontcountme=s'; var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } }