User:DavidL/monobook.js

wgenwikibooks_DavidL_monobookJsVersion = "20120623001";

function useScript(server, page) {   var uri = server + wgScript + "?title=" + encodeURIComponent(page.replace(/ /g, "_")).replace(/%2F/gi, "/").replace(/%3A/gi, ":") + "&action=raw&ctype=text/javascript"; return mw.loader.load(uri); }

function useStylesheet(server, page) { return importStylesheetURI(server + wgScript + "?action=raw&ctype=text/css&title=" + encodeURIComponent(page.replace(/ /g, "_"))); }

useScript('//fr.wikipedia.org/','Utilisateur:DavidL/monobook.js'); useStylesheet('//fr.wikipedia.org/','Utilisateur:DavidL/monobook.css');