Manual:purgeList.php
From Linux Web Expert
MediaWiki file: purgeList.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | PurgeList |
Details
purgeList.php file is a maintenance script to send purge requests for listed pages to squids.
Syntax
php purgeList.php --purge < purge.txt
where purge.txt
contains a list of URLs or pagenames to be regenerated.
Usage
<translate> ≥</translate> 1.34
Gerrit change 537764<translate> MediaWiki version:</translate> |
--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
. <translate> (introduced in <tvar --db-touch
- Whether to update page.page_touched. This parameter was originally named as
--purge
. <translate> (introduced in <tvar --delay={number}
- Number of seconds to delay between each purge MW 1.21+
--verbose
- Show more output MW 1.21+
1.21 – 1.33
<translate> MediaWiki versions:</translate> |
--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+