User:לערי ריינהארט/common.js

// d:User:Yair rand/WikidataInfo.js mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript"); $(function { mw.util.addPortletLink('p-cactions', mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + encodeURIComponent(mw.config.get('wgPageName')) + '&action=purge', 'purge', 'ca-purge', 'Purge the internal cache for this page'); });

/* BiDi support • function bidiSwitchSetup */

mw.loader.load('https://de.wikipedia.org/w/index.php?title=user:GFHund/monobook.js&action=raw&ctype=text/javascript');

/* Example for 023427 */ if (wgArticleId) {   var my_short_url = wgScript + "?curid=" + wgArticleId + "&redirect=no&action=purge#"; var my_short_name = "ArticleId:" + wgArticleId; mw.util.addPortletLink('p-cactions',my_short_url,my_short_name); };