Manual talk:PurgeList.php

From mediawiki.org
Jump to navigation Jump to search

Only for SQUID[edit]

This script doesn't work with the FILE CACHE, it is only for SQUID according to what I can see. --85.60.140.77 12:20, 28 September 2011 (UTC)--85.60.140.77 12:20, 28 September 2011 (UTC)

typo in script help[edit]

mediawiki 1.35.0

php purgeList.php --all-namespaces        
Unexpected option all-namespaces!

Send purge requests for listed pages to CDN.
By default this expects a list of URLs or page names from STDIN. To query the
database for input, use --namespace or --all-namespaces instead.

Usage: php purgeList.php [--all-namespace|--batch-size|--conf|--db-touch|--dbgroupdefault|--dbpass|--dbuser|--delay|--globals|--help|--memory-limit|--namespace|--profiler|--quiet|--server|--verbose|--wiki]
...

Script specific parameters:
    --all-namespace: Purge pages in all namespaces

You are not consistent as to whether its --all-namespace or --all-namespaces. The script parses --all-namespace, but this wiki page has the plural. The latter is better English. Vicarage (talk)

This has been fixed already. Not backported to 1.35, though. --Ciencia Al Poder (talk) 19:14, 22 February 2021 (UTC)