Translations:Manual:Protection/18/en

The $protect maintenance script can be used to protect and unprotect pages from the command line.