Difference between revisions 271766 and 271902 on ptwikibooks/** * TemplateScript * Adds a menu of configurable templates and scripts to the sidebar * @author: [[m:user:Pathoschild]] ([[meta:User:Pathoschild/Scripts/TemplateScript]]) * @update-token: [[File:pathoschild/templatescript.js]] * @author: [[User:Helder.wiki]] (this configuration file) * @tracking: [[Special:GlobalUsage/User:Helder.wiki/Tools/TemplateScript.js]] ([[File:User:Helder.wiki/Tools/TemplateScript.js]]) */ (contracted; show full) formatLinks(c); fixImageLinks(c); fixMath(c); usingRegex(c); formatHeadings(c); break; default: fixObsoleteHTML(c); } showDiff(); } function loadMyRegexTools(){ pathoschild.TemplateScript.AddWith({ forActions: 'edit' (contracted; show full) script: usingRegex }); } } $.getScript( '//pt.wikibooks.org/w/index.php?title=User:Helder.wiki/Tools/Pathoschild/TemplateScript.js&action=raw&ctype=text/javascript', loadMyRegexTools ); }( mediaWiki, jQuery ) ); All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://pt.wikibooks.org/w/index.php?diff=prev&oldid=271902.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|