Manual:Edit.php

From MediaWiki.org

Jump to: navigation, search

Edit an article from the command line

Usage: php edit.php [options...] <title>

Options:

 -u <user>         Username
 -s <summary>      Edit summary
 -m                Minor edit
 -b                Bot (hidden) edit
 -a                Enable autosummary
 --no-rc           Do not show the change in recent changes

If the specified user does not exist, it will be created. The text for the edit will be read from stdin.