Manual:MakeTestEdits.php/pl

Wersja MediaWiki:
1.27
Category:MediaWiki code/pl#MakeTestEdits.php

Szczegóły

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.

Options/Arguments

Opcja Opis Wymagane? Domyślna wartość
--userValid username of an existing user on wikiWymagane
--countNumber of edits to be madeWymagane
--namespaceNamespace number in which edits need to be madeOptional0 (Main namespace)

Użycie

php maintenance/run.php makeTestEdits --user UserName --count EditCounts [--namespace NamespaceNumer]
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

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.

Zobacz też

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