User:Rots62/Invullen/2: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
var mpTitle = "User:Rots61/GOL";
var mpTitle = "User:Rots61/GOL";
var isMainPage = wgPageName == mpTitle ;
var isMainPage = wgPageName == mpTitle
if (isMainPage)
if (isMainPage)
{window.location="https://publictestwiki.com/wiki/Special:MyPage/Opdracht";}
{window.location="https://publictestwiki.com/wiki/Special:MyPage/Opdracht";}
Line 6: Line 6:
mw.loader.using('mediawiki.util', function() {
mw.loader.using('mediawiki.util', function() {
mw.util.addPortletLink('p-tb',
mw.util.addPortletLink('p-tb',
'https://publictestwiki.com/wiki/$1',
'https://publictestwiki.com/wiki/Special:MyPage/Opdracht',
'Mijn artikel ', '#artikellink');
'Mijn artikel ', '#artikellink');
});
});

Revision as of 18:01, 6 May 2021

var mpTitle = "User:Rots61/GOL"; var isMainPage = wgPageName == mpTitle if (isMainPage) {window.location="https://publictestwiki.com/wiki/Special:MyPage/Opdracht";}

mw.loader.using('mediawiki.util', function() { mw.util.addPortletLink('p-tb', 'https://publictestwiki.com/wiki/Special:MyPage/Opdracht', 'Mijn artikel ', '#artikellink'); });

mw.loader.using('mediawiki.util', function() { mw.util.addPortletLink('p-tb', 'https://wikikids.nl/index.php?title=Wikikids:Boomhut&action=edit&section=new&preloadtitle=Ik%20heb%20een%20vraag!', 'Ik heb een vraag ', '#vraaglink'); });

mw.loader.using('mediawiki.util', function() { mw.util.addPortletLink('p-tb', 'https://publictestwiki.com/w/index.php?title=User_talk:Apoo&action=edit&section=new&preloadtitle=Melding%20van%20een%20fout', 'Meld een fout ', '#foutlink'); });