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:
| Result |
| The following content has been placed in a collapsed box for improved usability. |
<?xml version="1.0" encoding="utf-8"?>
<api>
<purge>
<page ns="0" title="Main Page" purged="" />
<page ns="0" title="Nonexistent" missing="" />
<page title="Talk:" invalid="" />
</purge>
</api>
|
| The above content has been placed in a collapsed box for improved usability. |
Possible errors [edit]
- code: cantpurge
- info: Only users with the 'purge' right can purge pages via the API