Last modified: 2011-09-28 18:16:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 31204 - Remove old user.user_options
Remove old user.user_options
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: schema-change
Depends on:
Blocks: 16660
  Show dependency treegraph
Reported: 2011-09-27 22:30 UTC by Sam Reed (reedy)
Modified: 2011-09-28 18:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Sam Reed (reedy) 2011-09-27 22:30:36 UTC
It's getting on for nearly like 50,000 revisions since it was replaced!
Comment 1 db [inactive,noenotif] 2011-09-28 16:51:08 UTC
You mean the database field? Than it is a schema change. Tagging.
Comment 2 Sam Reed (reedy) 2011-09-28 17:04:35 UTC
We've convertUserOptions.php script, which already does the migration.

I suppose we just need to stop adding the column in the default schema, make sure the maintenance script is run during update.php, and then do "ALTER TABLE /*_*/user DROP COLUMN user_options;"

Few bits of code related to it, but it's few and far between

Will do this this week maybe....
Comment 3 Sam Reed (reedy) 2011-09-28 18:09:37 UTC
Comment 4 Brion Vibber 2011-09-28 18:16:34 UTC
Added scaptrap & schema keywords on r98339 to make sure we run any final migration (if still needed) at 1.19 upgrade time. It wouldn't hurt to leave the existing tables in place but it should be wise to clean it up, so making sure we don't lose it. :)

Note You need to log in before you can comment on or make changes to this bug.