User:Mike Dillon/Scripts/tabs.js: Difference between revisions

Content deleted Content added
use addPortletLink; combine onload hook for adding purge and last tabs
m remove alt-g from purge
Line 37:
 
addTab(x.replace(/action=history/, "action=purge"),
'purge', 'ca-purge', 'Purge the internal cache for this page', 'g');
addTab(x.replace(/action=history/, "diff=cur&oldid=prev"),
'last', 'ca-last', 'Show most recent diff');