Manual:convertUserOptions.php
Appearance
This feature was removed completely in version MediaWiki 1.36. |
| MediaWiki version: | ≤ 1.35 |
| MediaWiki file: convertUserOptions.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Classes: | ConvertUserOptions |
Details
[edit]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
[edit]This script does not accept any options.
Usage
[edit]php maintenance/convertUserOptions.php
Terminal
$ php maintenance/convertUserOptions.php ...batch conversion of user_options: nothing to migrate.