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

Contents

Purging pages' caches [edit]

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

Parameters [edit]

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

Example [edit]

Purging the cache of Main Page, Nonexistent and Talk:

Possible errors [edit]

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