User:M.ottenbruch/common.js

mw.loader.using('mediawiki.util', function {	$(function  { mw.util.addPortletLink('p-cactions', 'https://en.wikipedia.org/w/index.php?title=Special:Export&pages=' + mw.config.get('wgPageName') + '&dir=desc&limit=5&wpDownload&history=1', 'export'); mw.util.addPortletLink('p-namespaces', 'https://en.wikipedia.org/w/index.php?title=Special:Export&pages=' + mw.config.get('wgPageName') + '&dir=desc&limit=5&wpDownload&history=1', 'export'); mw.util.addPortletLink('p-namespaces', 'https://en.wikipedia.org/wiki/' + mw.config.get('wgPageName'), 'export'); }); })