Gebruiker:Rots61/common.js: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Regel 13: | Regel 13: | ||
mw.loader.using('mediawiki.util', function() { | mw.loader.using('mediawiki.util', function() { | ||
mw.util.addPortletLink('p-tb', | mw.util.addPortletLink('p-tb', | ||
− | 'https://wikikids.nl/ | + | 'https://wikikids.nl/Speciaal:Random/' + encodeURIComponent(mw.config.get('wgPageName')), |
− | + | 'Random', '#randomlink', mw.config.get('wgPageName') + " willekeurig "); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ' | ||
− | |||
− | |||
− | |||
− | mw. | ||
− | |||
− | |||
− | |||
}); | }); |
Versie van 16 mei 2020 14:56
mw.loader.using('mediawiki.util', function() {
mw.util.addPortletLink('p-tb',
'https://nl.wikipedia.org/wiki/' + encodeURIComponent(mw.config.get('wgPageName')),
'Wikipedia ', '#wikipedialink', mw.config.get('wgPageName') + " op Wikipedia ");
});
mw.loader.using('mediawiki.util', function() {
mw.util.addPortletLink('p-tb',
'https://www.google.nl/search?q=' + encodeURIComponent(mw.config.get('wgPageName')),
'Google ', '#googlelink', mw.config.get('wgPageName') + " op Google ");
});
mw.loader.using('mediawiki.util', function() {
mw.util.addPortletLink('p-tb',
'https://wikikids.nl/Speciaal:Random/' + encodeURIComponent(mw.config.get('wgPageName')),
'Random', '#randomlink', mw.config.get('wgPageName') + " willekeurig ");
});