手册:populateRecentChangesSource.php
Appearance
此功能已在版本MediaWiki 1.43被完全移除。 |
| MediaWiki版本: | 1.23 – 1.43 |
| MediaWiki文件: populateRecentChangesSource.php | |
|---|---|
| 位置: | maintenance/ |
| 源代码: | master • 1.45.0 • 1.44.2 • 1.39.15 |
| 类: | PopulateRecentChangesSource |
详情
populateRecentChangesSource.php文件是用rc_type中的数据填充recentchanges表的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.
选项/参数
此脚本不带任何选项或参数。
用法
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.