Manual:populateRecentChangesSource.php
Appearance
![]() | この機能は、バージョン 1.43 で完全に除去されました。 |
MediaWiki バージョン: | 1.23 – 1.43 |
MediaWiki ファイル: populateRecentChangesSource.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.43.1 • 1.42.6 • 1.39.12 |
クラス: | PopulateRecentChangesSource |
詳細
populateRecentChangesSource.php file is a maintenance script to populate the rc_source
field of the recentchanges
table with the data in 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.
オプション/引数
このスクリプトにはオプション/引数はありません。
使用法
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.
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを
php maintenance/run.php scriptName
ではなく php maintenance/scriptName.php
を使用して実行する必要があります。