Last modified: 2012-12-09 06:24:32 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 T32976, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30976 - add maintenance script to cleanup user_properties table
add maintenance script to cleanup user_properties table
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.20.x
All All
: Normal enhancement (vote)
: ---
Assigned To: TyA
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-18 19:31 UTC by db [inactive,noenotif]
Modified: 2012-12-09 06:24 UTC (History)
3 users (show)

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


Attachments

Description db [inactive,noenotif] 2011-09-18 19:31:56 UTC
MediaWiki needs a maintenance scripts to cleanup the user_properties table.

bug 28343 removes preferences and the new script should remove the rows from users which have set the preference.

You can design the script in two ways:
1. Removing a named preference from the table, useful when adding a preference to $wgHiddenPrefs
2. Check for all current preferences be set. Useful to run after a upgrade or so (ConvertUserOptions looks to expensive for that).

Thanks.
Comment 1 TyA 2012-05-30 04:06:10 UTC
I submitted some code for review at https://gerrit.wikimedia.org/r/#/c/9358/
Comment 2 db [inactive,noenotif] 2012-12-06 20:42:44 UTC
(In reply to comment #1)
> I submitted some code for review at https://gerrit.wikimedia.org/r/#/c/9358/

Status Merged

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


Navigation
Links