Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* <nowiki>
 *
 * Adds a portlet link to update the link cache of the current page
 * @author [[User:Ricordisamoa]]
*/
$( function () {
	if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === false && mw.config.exists( 'wgPageName' ) ) {
		$( mw.util.addPortletLink( 'p-cactions', '#', 'FLU', 'ca-flu', 'ForceLinkUpdate for this page' ) )
		.click( function ( event ) {
			event.preventDefault();
			new mw.Api().post( {
				action: 'purge',
				forcelinkupdate: 1,
				titles: mw.config.get( 'wgPageName' )
			} )
			.done( function () {
				window.location.reload();
			} );
		} );
	}
} );