Manual:UpdateRestrictions.php
Appearance
Versão MediaWiki: | ≥ 1.9 |
Arquivo MediaWiki: updateRestrictions.php | |
---|---|
Local: | maintenance/ |
Código fonte: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | UpdateRestrictions |
Detalhes
O arquivo updateRestrictions.php é um script de manutenção, que atualiza a tabela page_restrictions
a partir da antiga coluna page_restriction
.
It processes 1000 items in every batch.
Options
This script does not accept any options.
Usage
php maintenance/run.php updateRestrictions
Terminal
$ php maintenance/run.php updateRestrictions ...processing page IDs from 0 to 1000. ...Done!
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.