Manual:convertUserOptions.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.36</tvar>.</translate> |
<translate> ≤</translate> 1.35
<translate> MediaWiki version:</translate> |
MediaWiki file: convertUserOptions.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | ConvertUserOptions |
Details
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.