User:Seresin/vector.js

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

//use search start————————— if(mw.config.get('wgNamespaceNumber')==2||wgNamespaceNumber==3) addOnloadHook(function { var n = mw.config.get('wgTitle');  if(n.indexOf('/')!=-1)  n = n.substring(0,mw.config.get('wgTitle').indexOf('/'))  mw.util.addPortletLink('p-tb', mw.config.get('wgScript') + '?title=Special:Listusers&username=' + n,'User Search','t-usersearch','Special:Listusers&username=' + n); }) //user search end—————————