Manual:MakeTestEdits.php/ja

MediaWiki バージョン:
1.27
Category:MediaWiki code/ja#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.

オプション/引数

オプション 説明 必須かどうか 既定値
--userValid username of an existing user on wiki必須
--countNumber of edits to be made必須
--namespaceNamespace number in which edits need to be made省略可能0 (Main namespace)

使用法

php maintenance/run.php makeTestEdits --user UserName --count EditCounts [--namespace NamespaceNumer]
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを php maintenance/run.php scriptName ではなく php maintenance/scriptName.php を使用して実行する必要があります。

Making 20 edits with username Foo

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

Common error

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.

関連項目

Category:Maintenance scripts/ja Category:Content maintenance scripts/ja
Category:Content maintenance scripts/ja Category:Maintenance scripts/ja Category:MediaWiki code/ja