Manual:populateLogUsertext.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.36</tvar>.</translate> |
<translate> ≤</translate> 1.35
<translate> MediaWiki version:</translate> |
Fichier MediaWiki : populateLogUsertext.php | |
---|---|
Emplacement : | maintenance/ |
Code source : | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes : | PopulateLogUsertext |
Détails
Le fichier populateLogUsertext.php est un script de maintenance pour effectuer les mises à jour de bases de données nécessaires pour montrer toutes les pages protégées, mêmes celles avant le changement de schéma de restriction. All remaining page_restriction column values are moved to the new table.
This script is run automatically by update.php and processes 100 items in a batch.
Options/Arguments
This script does not take any options or arguments.
Usage
php maintenance/populateLogUsertext.php
Terminal
$ php maintenance/populateLogUsertext.php ...doing log_id from 1 to 100 ...doing log_id from 101 to 200 Done populating log_user_text field.
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.