User:Bellezzasolo/Scripts/templatechanges.js

/* This script adds a link saying "Template Changes" to subpages of the current page. To use the script, add the following line to Special:MyPage/common.js: importScript('User:Bellezzasolo/Scripts/templatechanges.js'); // Linkback: User:Bellezzasolo/Scripts/templatechanges.js



$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-interaction', 'https://en.wikipedia.org/w/index.php?title=Special:Contributions&contribs=newbie&namespace=10&topOnly=1', 'Recent templates', 't-templatechanges', 'Recent template changes', null, '#pt-preferences' ); });