Changes

no edit summary
Line 16: Line 16:  
}
 
}
 
function  addPortletLink() {
 
function  addPortletLink() {
 +
  mw.util.addPortletLink ('p-nawigation', '/wiki/how_to_Do', 'How To Do');
 
   mw.log.warn('addPortletLink is deprecated on desktop and never implemented on mobile', 'More information on https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#addPortletLink');
 
   mw.log.warn('addPortletLink is deprecated on desktop and never implemented on mobile', 'More information on https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#addPortletLink');
 
}
 
}
  −
mw.util.addPortletLink ('p-nawigation', '/wiki/how_to_Do', 'How To Do');