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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33204, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31204 - Remove old user.user_options
Remove old user.user_options
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.18.x
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: ---


Attachments

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
r98339
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.


Navigation
Links