Podręcznik:ConvertUserOptions.php
Appearance
Ta funkcja została całkowicie usunięta z jądra MediaWiki w wersji 1.36. |
Wersja MediaWiki: | ≤ 1.35 |
Plik MediaWiki: convertUserOptions.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klasy: | ConvertUserOptions |
Szczegóły
convertUserOptions.php file is a maintenance script to convert user options to the new user_properties
table.
Prior to MediaWiki 1.18, the user.user_options field was used to store users' Special:Preferences information as list of name=value pairs. This script converts these fields to the new user_properties table.
Options
This script does not accept any options.
Usage
php maintenance/convertUserOptions.php
Terminal
$ php maintenance/convertUserOptions.php ...batch conversion of user_options: nothing to migrate.