Jump to content

Mòideal:Purge/doc

O Wiktionary

This is the documentation page for Mòideal:Purge

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)

This module produces a link to purge a page's cache. This is usually the current page, but can be another page.

Ùsaid - Usage

Ùsaid bho uiciteacsa - Usage from wikitext

From wikitext, this module should be accessed via Template:Purge. Please see the template page for documentation.

Ùsaid bho Lua - Usage from Lua

From Lua, first you need to load the module:

local mPurge = require('Mòideal:Purge')

Then you can create purge links with the _main function:

mPurge._main(args)

args is a table of arguments, identical to the ones accepted by Template:Purge. Please see the template documentation for more details.