Podręcznik:ReassignEdits.php
Appearance
Outdated translations are marked like this.
| Wersja MediaWiki: | ≥ 1.6 |
| Plik MediaWiki: reassignEdits.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.46.2 • 1.45.6 • 1.43.11 |
| Klasy: | ReassignEdits |
Szczegóły
reassignEdits.php file is a maintenance script to reassign edits from a user or IP address to another user.
Options/Arguments
| Opcja/Parametr | Opis | Required? |
|---|---|---|
| <from> | username or IP address to assign edits from | Wymagane |
| <to> | username to assign edits to | Wymagane |
| --force | reassign even if the target user doesn't exist | Optional |
| --norc | don't update the recent changes table | Optional |
| --report | print out details of what would be changed, but don't update it | Optional |
| --quiet | don't print status information (except for errors) | Optional |
Użycie
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 ( _ ).
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.