Manual:PopulateRecentChangesSource.php
Outdated translations are marked like this.
Este recurso foi removido completamente na versão 1.43. |
Versões do MediaWiki: | 1.23 – 1.43 |
Arquivo MediaWiki: populateRecentChangesSource.php | |
---|---|
Local: | maintenance/ |
Código fonte: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | PopulateRecentChangesSource |
Detalhes
O arquivo populateRecentChangesSource.php é um script de manutenção usado para preencher o campo rc_source
.
The rc_source allows specifying the type of change and for more flexibly specifying different types of RecentChange entries. For example, 'mw.edit', 'mw.log', 'mw.new' for core RecentChange types and 'wb' and 'flow' provided by extensions.
This script runs by default when you run update.php . It processes 100 items in a batch.
Options/Arguments
This script does not take any options or arguments.
Usage
php maintenance/run.php populateRecentChangesSource
Terminal
$ php maintenance/run.php populateRecentChangesSource ....... Done.
Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.
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
.