Manual:makeTestEdits.php


makeTestEdits.php maintenance script allows a developer to made random edits for testing. This is a very helpful feature for those who run test wiki and want to create some random pages to testing a new version or patch.

OptionsEdit

makeTestEdits.php accepts following three options.

Option Required Default value
--user Valid username of an existing user on wiki true
--count Number of edits to be made true
--namespace Namespace number in which edits need to be made false 0 (Main namespace)

UsageEdit

php maintenance/makeTestEdits.php --user UserName --count EditCounts [--namespace NamespaceNumer]


Making 20 edits with username Jay.
Terminal
Tip 1: Spaces inside a username must be replaced with underscores ( _ ) or use double quotation like "Foo Bar"

Common errorEdit

1. No such user exists.

This means, you are not giving the valid username of an existing user on wiki. If given username contains spaces then please look Tip 1 above.

See alsoEdit