Sicuramente lo userò come pagina alternativa a Ultime modifiche.
*/
/*************
/**
*** Regex menu framework
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Regex_menu_framework>
* @see https://meta.wikimedia.org/wiki/TemplateScript
*** - adds a sidebar menu of user-defined scripts.
* @update-token [[File:pathoschild/templatescript.js]]
*************/
*/
//importScriptURI('http://meta.wikimedia.org/w/index.php?//title=User:Pathoschild/Scripts/Regex_menu_framework.js&action=raw&ctype=text/javascript');
//mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');
/* menu links */
// In the function below, add more lines like "regexTool('link text','function_name()')" to add
// links to the sidebar menu. The function name is the function defined in rfmscripts() below./
//function rmflinks() {
// regexTool('Custom regex','custom()'); // a default tool which performs regex input in a dynamic form
//}
/* scripts */
// Below, define the functions linked to from rmflinks() above. These functions can use any JavaScript,
// but there is a set of simplified tools documented at
// http://meta.wikimedia.org/wiki/User:Pathoschild/Script:Regex_menu_framework .
|