Manual:Protect.php/pl

Szczegóły
protect.php file is a maintenance script that handles protecting and unprotecting a page.

Options/Arguments
protect.php takes title as their first argument on which you want to do action.

protect.php accepts following five others options as well.

Usage

 * Allowing at-least autoconfirmed users to edit the page


 * Allowing only sysop users to edit the page


 * Removing protection from a page

if you don't pass --user option to script then it will do action with user User:Maintenance script.
 * Doing action with username "Foo"