I am using MW 1.27.1 with PHP 7.0.12-1~dotdeb+8.1
wgLBFactoryConf were used for GlobalUsage.
When I run php extensions/GlobalUsage/refreshGlobalimagelinks.php
I get "Param pages required!" with help info. No matter run it on wiki holding images or on wiki using remote images.
What is the Param pages referred here? Is this a bug?
error message:
php /extensions/GlobalUsage/refreshGlobalimagelinks.php
Param pages required!
Usage: php refreshGlobalimagelinks.php [--batch-size|--conf|--dbpass|--dbuser|--globals|--help|--memory-limit|--pages|--profiler|--quiet|--server|--start-image|--start-page|--wiki]
Generic maintenance parameters:
--help (-h): Display this help message --quiet (-q): Whether to supress non-error output --conf: Location of LocalSettings.php, if not default --wiki: For specifying the wiki ID --globals: Output globals at the end of processing for debugging --memory-limit: Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it --server: The protocol and server name to use in URLs, e.g. http://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts. --profiler: Profiler output format (usually "text")
Script dependant parameters:
--dbuser: The DB user to use for this script --dbpass: The password to use for this script --batch-size: Run this many operations per batch, default: 500
Script specific parameters:
--pages: CSV of (existing,nonexisting) --start-image: il_to of the image to start with --start-page: page_id of the page to start with