Manual:purgeList.php

From Linux Web Expert

Revision as of 02:15, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<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+
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.33</tvar> is unsupported version</translate>">
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+

See also