Manual:purgeList.php

Details

edit

purgeList.php file is a maintenance script to send purge requests for listed pages to squids.

Syntax

edit
php purgeList.php --purge < purge.txt

where purge.txt contains a list of URLs or pagenames to be regenerated.

Usage

edit
MediaWiki version:
1.34
Gerrit change 537764
--namespace={number}
Namespace number. Use it to purge all pages from the given namespace (you don't have to pass a list of pages when using this option).
--all-namespaces
Purge all pages (you don't have to pass a list of pages when using this option). This parameter was originally named as --all. (introduced in 1.34)
--db-touch
Whether to update page.page_touched. This parameter was originally named as --purge. (introduced in 1.34)
--delay={number}
Number of seconds to delay between each purge MW 1.21+
--verbose
Show more output MW 1.21+
MediaWiki versions:
1.21 – 1.33
--namespace={number}
Namespace number. Use it to purge all pages from the given namespace (you don't have to pass a list of pages when using this option).
--all
Purge all pages (you don't have to pass a list of pages when using this option) MW 1.21+
--purge
Whether to update page.page_touched MW 1.21+
--delay={number}
Number of seconds to delay between each purge MW 1.21+
--verbose
Show more output MW 1.21+

See also

edit