Neidio i'r cynnwys

Modiwl:Purge/doc

Oddi ar Wicipedia
Dyma ddiwygiad cyfredol y dudalen Modiwl:Purge/doc a ddiwygiwyd gan Llywelyn2000 (sgwrs | cyfraniadau) am 08:22, 31 Mawrth 2021. Mae'r URL yn y Bar Lleoliad uwchben yn ddolen barhaol i'r fersiwn hwn o'r dudalen hon.
(gwahan) ← Fersiwn hŷn | Fersiwn diweddaraf (gwahan) | Fersiwn diweddarach → (gwahan)

This is the documentation page for Modiwl:Purge

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

Usage

[golygu cod]

From wiktext

[golygu cod]

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

From Lua

[golygu cod]

From Lua, first you need to load the module:

local mPurge = require('Module: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.