User:Peteforsyth demo/common.js

/** * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor. * @see https://meta.wikimedia.org/wiki/TemplateScript * @update-token

mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');



//add sidebar tools importScript('User:Peteforsyth/Regexp toolbar.js');

//Utility functions importScript('User:Inductiveload/Roman numerals.js');

//running header lookup importScript('User:Inductiveload/Running header.js');

/* CharInsert gadget specific */ // //	window.charinsertDontMove = true; //	window.charinsertMoveTop = true; window.editToolsRecall = true; window.charinsertCustom = { "User": '|   +|  —            ' }; //	if(window.updateEditTools) window.updateEditTools; //