3,554
edits
(Created page.) |
mNo edit summary |
||
Line 14: | Line 14: | ||
if (!(url = url.href )) return; | if (!(url = url.href )) return; | ||
addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), | addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), | ||
' | 'Purge', 'ca-purge', 'Purge server cache for this page', '0'); | ||
} | } | ||
}); | }); | ||
Line 49: | Line 49: | ||
with(highlightRedirects) | with(highlightRedirects) | ||
{ | { | ||
addPortletLink ('p-cactions', 'javascript:highlightRedirects.run();', ' | addPortletLink ('p-cactions', 'javascript:highlightRedirects.run();', 'Redirects', 'ca-redirects', 'Highlights all links which are redirects', 'r') || | ||
addPortletLink ('views', 'javascript:highlightRedirects.run();', ' | addPortletLink ('views', 'javascript:highlightRedirects.run();', 'Redirects', 'ca-redirects', 'Highlights all links which are redirects', 'r'); | ||
} | } | ||
} | } |