MediaWiki:Gadget-RegexMenuFramework.js

/* 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/w/index.php?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
}

MediaWiki:Gadget-RegexMenuFramework.js



Share this article:

This article uses material from the Wikipedia article MediaWiki:Gadget-RegexMenuFramework.js, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.