Handbuch:makeTestEdits.php

This page is a translated version of the page Manual:MakeTestEdits.php and the translation is 63% complete.
MediaWiki Version:
1.27

Details

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.

Optionen/Argumente

Option Beschreibung Notwendig? Standardwert
--user Gültiger Benutzername eines vorhandenen Benutzers auf den Wiki Notwendig
--count Anzahl an vorzunehmende Bearbeitungen Notwendig
--namespace Namespace number in which edits need to be made Optional 0 (Main namespace)

Verwendung

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

Making 20 edits with username Foo

Terminal
Spaces inside a username must be replaced with underscores ( _ ) or use double quotation like "Foo Bar"

Häufiger Fehler

No such user exists.

This indicates that the username is not a valid username of an existing user on wiki. If the username contains spaces, see Tip 1 above.

Siehe auch