User:Sahim/vector.js

/* last edit */ $(function {  if (!(hist = document.getElementById('ca-history') )) return;  mw.util.addPortletLink('p-cactions', mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + wgPageName + "&diff=prev&oldid=" + wgCurRevisionId, '-', 'ca-last', 'last edit'); });