From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/* Script:  [[m:User:Pathoschild/Scripts/Regex menu framework]]

  * RegexMenuFramework: creates a sidebar menu of user-defined regex tools

  * Documentation: [[m:User:Pathoschild/Scripts/Regex menu framework]]

  * Written by: Pathoschild

  * 

*/

// load script

mw.loader.load('//meta.wikimedia.org/?title=User:Pathoschild/Scripts/Regex_menu_framework.js&action=raw&ctype=text/javascript');



// default menu links

function gadget_rmflinks() {

        regexTool('Custom regex','custom()'); // a default tool which performs regex input in a dynamic form

}