Manual:PopulateRecentChangesSource.php/fr

Category:MediaWiki deprecated or obsolete features/fr#PopulateRecentChangesSource.php
Versions de MediaWiki :
1.23 1.43
Category:MediaWiki code/fr#PopulateRecentChangesSource.php

Détails

Le fichier populateRecentChangesSource.php est un script de maintenance pour remplir le champ rc_source du tableau recentchanges avec les données dans rc_type.

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 et arguments

Ce script n'a pas d'options ni de paramètres.

Utilisation

php maintenance/run.php populateRecentChangesSource
Terminal
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.
Dans la version MediaWiki 1.39.12 et antérieure, vous devez invoquer des scripts de maintenance à l'aide de php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.

Voir aussi

Category:Maintenance scripts/fr Category:Content maintenance scripts/fr
Category:Content maintenance scripts/fr Category:Maintenance scripts/fr Category:MediaWiki code/fr Category:MediaWiki deprecated or obsolete features/fr