User:Wamiq/Articles.js

function addArticles {   mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/w/index.php?title=Special:PrefixIndex/User:Wamiq/&action=view", "My Userspace", "tb-Articles", "Wamiq's Userspace"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Wikipedia:Main_Page_history", "WP:MP archive", "tb-Articles", "Wikipedia Main Page archive"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Special:ExpandTemplates", "Template expander", "tb-Articles", "Template expander"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/w/index.php?action=edit&preload=User:Wamiq/Gender&section=new&title=" + encodeURI(wgPageName), "Gender", "tb-Articles", "Gender checker"); mw.util.addPortletLink("p-tb", "http://stats.grok.se/en/latest30/" + encodeURI(wgPageName), "Views", "tb-Articles", "Views in the last month"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Mirza_Adeeb", "Mirza Adeeb", "tb-Articles", "Mirza Adeeb"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Ada_Jafri", "Ada Jafri", "tb-Articles", "Ada Jafri"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Begum_Akhtar_Riazuddin", "Begum Riaz", "tb-Articles", "Begum Akhtar Riazuddin"); mw.util.addPortletLink("p-tb", "http://en.wikipedia.org/wiki/Nasreddin_Murat-Khan", "Murat-Khan", "tb-Articles", "Nasreddin Murat-Khan"); } $(addArticles);