Gebruiker:Rots61/common.js: verschil tussen versies

Uit Wikikids
Naar navigatie springen Naar zoeken springen
Regel 15: Regel 15:
 
'https://wikikids.nl/Speciaal:Random/',
 
'https://wikikids.nl/Speciaal:Random/',
 
'Random', '#randomlink', " willekeurig ");
 
'Random', '#randomlink', " willekeurig ");
  +
});
  +
  +
mw.loader.using('mediawiki.util', function() {
  +
mw.util.addPortletLink('p-tb',
  +
'https://commons.wikimedia.org/wiki/Special:ImportFile?clientUrl=' + encodeURIComponent(mw.config.get('wgArticlePath')) +&importSource=FileExporter,
  +
'FileExport', '#FileExporter', "Exporteer" + mw.config.get('wgArticlePath'));
 
});
 
});

Versie van 13 mei 2021 13:05

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/', 
		'Random', '#randomlink', " willekeurig ");
});

mw.loader.using('mediawiki.util', function() {
	mw.util.addPortletLink('p-tb', 
		'https://commons.wikimedia.org/wiki/Special:ImportFile?clientUrl=' + encodeURIComponent(mw.config.get('wgArticlePath')) +&importSource=FileExporter, 
		'FileExport', '#FileExporter', "Exporteer" + mw.config.get('wgArticlePath'));
});
Afkomstig van Wikikids , de interactieve Nederlandstalige Internet-encyclopedie voor en door kinderen. "https://wikikids.nl/index.php?title=Gebruiker:Rots61/common.js&oldid=667198"