User:PerfektesChaos/js/tableXpander/scout/r.js

/// tableXpander/scout.js /// 2020-07-26 PerfektesChaos@de.wikipedia /// (function(mw,$){ "use strict"; var Version=1.0,Signature="tableXpander",GUI={show:Signature+"@PerfektesChaos",sign:"|}===={|",start:"https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/"+Signature+"/"+(Version>0?"r":"d")+".js&action=raw&ctype=text/javascript"}; GUI.fire=function{ mw.loader.using(["mediawiki.util"],GUI.firing); }; GUI.fired=function{ GUI.$portlet.empty; mw.loader.load(GUI.start); }; GUI.firing=function{ $(GUI.furnish); }; GUI.furnish=function{ var sign="t-"+Signature; if(!$("#"+sign).length){ GUI.$portlet=$(mw.util.addPortletLink("p-tb","#",GUI.sign,sign,GUI.show,null,null)); GUI.$portlet.click(GUI.fired);} }; GUI.fire; }(window.mediaWiki,window.jQuery)); /// EOF tableXpander/scout.js