Fandom Developers Wiki
Advertisement

PurgeButton adds a "Refresh" option to page controls. A "Refresh" purges both FANDOM's caches and your browser's cache.

Installation

Template:Script Install/ImportJS

Configuration

To change the text of the button, set PurgeButtonText before the import, like this:

PurgeButtonText = 'purge';

importArticles({
    type: 'script',
    articles: [
        'u:dev:PurgeButton/code.js'
    ]
});

Translations

You can use the translations editor to edit translations of this script.

Advertisement