Manual:reassignEdits.php
Appearance
| MediaWiki バージョン: | ≧ 1.6 |
| MediaWiki ファイル: reassignEdits.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| クラス: | ReassignEdits |
詳細
reassignEdits.php file is a maintenance script to reassign edits from a user or IP address to another user.
オプション/引数
| オプション/引数 | 説明 | 必須かどうか |
|---|---|---|
| <from> | username or IP address to assign edits from | 必須 |
| <to> | username to assign edits to | 必須 |
| --force | reassign even if the target user doesn't exist | 省略可能 |
| --norc | don't update the recent changes table | 省略可能 |
| --report | print out details of what would be changed, but don't update it | 省略可能 |
| --quiet | don't print status information (except for errors) | 省略可能 |
使用法
php maintenance/run.php reassignEdits <from> <to> [ --force| --norc| --report| --quiet ]
Terminal
$ php maintenance/run.php reassignEdits "0:0:0:0:0:0:0:1" "Foo" Checking current edits...found 13. Checking deleted edits...found 0. Checking recent changes...found 16. Total entries to change: 29 Reassigning current edits...done. Updating recent changes...done.
Spaces inside a username must be replaced with underscores ( _ ).
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。