https://bugzilla.wikimedia.org/show_bug.cgi?id=60012

--- Comment #10 from Bartosz DziewoƄski <matma....@gmail.com> ---
(In reply to Andre Saboia from comment #7)
> (In reply to Kunal Mehta (Legoktm) from comment #5)
> > My idea: set a "sticky" preference when a user enables a beta feature
> > ("$key-set"), but don't remove it when the user changes the option. Then we
> > just count the number of people with that set and store it in another column
> > in the table.
> 
> When a user enables a beta feature, this feature is added on the
> 'user_properties' table, but when the user disable that feature, it is not
> removed from the table, just change its value (up_value) from 1 to 0.. which
> means that all we have to do is the same we do to count enabled features.
> Instead of 'where up_value=1' should use 'where up_value=0' on the select
> command, but I'm not sure if there is a way to take this two values(enabled,
> disabled) in one select command(with maybe a join) or another way..

Are you sure that's true? MediaWiki rather aggressively removes unnecessary
data from this table, including preference values that are identical to
defaults.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to