Jump to content

Manual:PurgeList.php/da

From mediawiki.org
This page is a translated version of the page Manual:PurgeList.php and the translation is 8% complete.

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

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-versioner:
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+

Se også