Handbuch:PurgeList.php
MediaWiki-Datei: purgeList.php | |
---|---|
Speicherort: | maintenance/ |
Quellcode: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klassen: | 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.
Verwendung
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
. (eingeführt in 1.34) --db-touch
- Whether to update page.page_touched. This parameter was originally named as
--purge
. (eingeführt 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+