Jump to content
MediaWiki

Manual:populateLogUsertext.php

From mediawiki.org
This feature was removed completely in version 1.36.
MediaWiki version:
≤ 1.35
MediaWiki file: populateLogUsertext.php
Location: maintenance/
Source code: master1.43.11.42.61.39.12
Classes: PopulateLogUsertext

Details

[edit ]

populateLogUsertext.php file is a maintenance script to make the required database updates for Special:ProtectedPages to show all protected pages, even ones before the page restrictions schema change. 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

[edit ]

This script does not take any options or arguments.

Usage

[edit ]
phpmaintenance/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.

See also

[edit ]

AltStyle によって変換されたページ (->オリジナル) /