Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
(Created page with "→* * Moves icons from [[Template:External]] to the top bar, next to "Article" and "Talk" tabs; * rewritten from scratch for modern MediaWiki: (function ($, mw) { let namespace = mw.config.get('wgNamespaceNumber'); // automatically show externals on Special and MediaWiki namespaces if (namespace === -1 || namespace === 8) { let page = mw.config.get('wgPageName'); addLink('the RuneScape Wiki', 'rsw', page); addLink('the RuneScape Classic Wiki', 'classicrsw...") |
No edit summary Tag: Reverted |
||
Line 33:
function addLink(wikiname, interwiki, page) {
let url = mw.mw.util.getUrl(interwiki + ':' + page);
let title = wikiname + ' also has an article on ' + page + '.';
Line 47:
}
let link = mw.mw.util.addPortletLink(
'p-namespaces',
url,
|