API:Purge

From MediaWiki.org
Jump to: navigation, search
Tools clipart.png This page is part of the MediaWiki API documentation.
Language: English  • Deutsch • polski
MediaWiki API

Quick overview:

v · d · e
MediaWiki version: = 1.14

Purging pages' caches[edit | edit source]

You can purge the cache of one or more pages using action=purge.

Parameters[edit | edit source]

  • titles/pageids/revids: A list of titles/page IDs/revision IDs
  • forcelinkupdate: If set, updates the link tables

Example[edit | edit source]

Purging the cache of Main Page, Nonexistent and Talk:

Possible errors[edit | edit source]

  • code: cantpurge
    • info: Only users with the 'purge' right can purge pages via the API