Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// see the documention on [[User:CAPTAIN MEDUSA/DYK]]
// created by [[User:CAPTAIN MEDUSA]]
function DYK() {
mw.util.addPortletLink (
	'p-personal',
	'/wiki/Template talk:Did you know',
	'Did You Know',
	'pt-dyk',
	'View Did You Know nominations',
	null,
    '#pt-preferences');
    
     mw.util.addPortletLink(
		'p-navigation',
		'/wiki/Template talk:Did you know',
		'Did You Know',
		'pt-dyk',
		'View Did You Know nominations'
	);
}

$(DYK);