User:Romaine/common.js

From translatewiki.net
Jump to: navigation, search
// Prefixindex bovenin hulpmiddelen-menu
mw.loader.using( 'mediawiki.util', function () {
	"use strict";
	mw.util.addPortletLink('p-tb', "/wiki/Special:Prefixindex/" + mw.config.get( 'wgPageName' ), "Prefixindex", 'tb-prefixindex', 'Prefixindex', null, document.getElementById('t-whatlinkshere') || document.getElementById('t-upload') );
} );

mw.loader.using( 'mediawiki.util', function () {
	"use strict";
	mw.util.addPortletLink('p-tb', "//nl.wikipedia.org/wiki/" + mw.config.get( 'wgPageName' ), "nlwiki", 'tb-nlwiki', 'nlwiki', null, document.getElementById('t-whatlinkshere') || document.getElementById('t-upload') );
} );