Podręcznik:PurgeList.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:PurgeList.php and the translation is 31% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎suomi • ‎中文 • ‎日本語

Szczegóły

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

If you feed this script with page names instead of URLs, or use the option to purge all pages, it will only send cache purge request to pages using its internal URL form, ignoring any customization made in the TitleSquidURLs hook. See zadanie T183628.

Syntax

php purgeList.php --purge < purge.txt

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

Użycie

Opcja/Parametr Opis
--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_touched
--delay=number Number of seconds to delay between each purge MW 1.21+
--verbose Show more output MW 1.21+

See also