Add 'verbose' option to commandline script.

Addresses #61, #48.
This commit is contained in:
Daniel Kraus
2022-03-13 12:14:32 +01:00
parent d992823cf4
commit 203f8c866f
3 changed files with 35 additions and 2 deletions

View File

@ -195,7 +195,7 @@ line
to `LocalSettings.php`.
#### Maintenance script
#### Commandline
If you have access to a shell on the server that runs your wiki, and are allowed
to execute `/bin/php` on the command line, you can use the extension's
@ -215,6 +215,13 @@ page that was processed (e.g., 37), and use the maintenance script with the
php linktitles-cli.php -s 37
For more verbose output that also includes the page title, use the `--verbose`
option (or short `-v`):
php linktitles-cli.php -s 37 -v
In verbose mode, the script will output all page titles one by one.
See all available options with:
php linktitles-cli.php -h