Last modified: 2014-06-17 17:02:37 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 T57497, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55497 - Vector experiments opt-out preference not working
Vector experiments opt-out preference not working
Status: RESOLVED INVALID
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-09 05:27 UTC by Steven Walling
Modified: 2014-06-17 17:02 UTC (History)
11 users (show)

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


Attachments

Description Steven Walling 2013-10-09 05:27:58 UTC
Per reports about the Thanks extension (https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Getting_rid_of_.22thank.22) which uses Vector's experiments preference as an opt-out, it seems like this preference might not be working?

I am not wholly sure whether it's a bug in the Thanks extension or Vector, but either way the preference should be preserved, since multiple features rely on it for opt-out purposes.
Comment 1 MZMcBride 2013-10-09 05:30:35 UTC
Related to bug 54852?
Comment 2 Kunal Mehta (Legoktm) 2013-10-09 05:32:35 UTC
With https://gerrit.wikimedia.org/r/#/c/87023/, there is no longer a user preference that can be used to opt-out of Thanks.
Comment 3 MZMcBride 2013-10-09 05:36:07 UTC
(In reply to comment #0)
> I am not wholly sure whether it's a bug in the Thanks extension or Vector,
> but either way the preference should be preserved, since multiple features
> rely on it for opt-out purposes.

I'm not sure this is still true.

This bug may be invalid. I'm not sure a user preference ever made sense here. Users wishing to hide thanks can use CSS or JS or a local gadget, surely?
Comment 4 Steven Walling 2013-10-09 05:42:42 UTC
(In reply to comment #2)
> With https://gerrit.wikimedia.org/r/#/c/87023/, there is no longer a user
> preference that can be used to opt-out of Thanks.

Okay, I thought this might be the issue. Thanks for the heads up guys.

Did anyone talk to Kaldari, Fabrice, et al before merging this? I don't think it was intentional to remove the preference without at least notifying the community that opt-out was being taken away. You can see from the link I provided that the community and the primary author of the feature (Kaldari) seem to be taken off-guard here. 

I agree with bug 54852 that the experimental opt-out should not be housed in the Vector extension, but it may still be a useful preference, or at least Thanks maintainers might like to explain why it was okay to remove the opt-out at this point. 

Plus, did we check that there were no other currently deployed extensions depending on the preference? I am unaware of how we can check for dependencies on preferences (other than say, grepping for the preference name). 

In general, it seems like this preference was removed prematurely.
Comment 5 MZMcBride 2013-10-09 05:47:49 UTC
(In reply to comment #4)
> In general, it seems like this preference was removed prematurely.

I can't imagine the number of people opting out of using the Thanks extension is more than a few dozen users across Wikimedia wikis, though maybe you can gather proper stats?
Comment 6 Steven Walling 2013-10-09 06:08:29 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > In general, it seems like this preference was removed prematurely.
> 
> I can't imagine the number of people opting out of using the Thanks extension
> is more than a few dozen users across Wikimedia wikis, though maybe you can
> gather proper stats?

I don't know how preference data such as from the database reports is generated, but my lazy late-night data gathering can say this...

Schema:PrefUpdate seems to have been logging preference updates from July until the present. If I am understanding the schema correctly, it looks like since the start of logging, 370 enwiki users have turned on the vector-noexperiments preference while 44 turned it off. The total for all wikis is 944 turned it on, while 97 turned it off. 

Now, for many of these updates, Thanks was clearly not the reason, since it wasn't deployed everywhere for this duration. But it gives you an idea of how often the preference was being fiddled with by users.
Comment 7 Bartosz Dziewoński 2013-10-09 11:45:00 UTC
I filed the bug 54852 and asked about it on IRC; I've only become aware of the solution after it was merged. I'm okay with the way this was done (per what MZMcBride said above), but I have no stats handy.

Splitting the pref out to a tiny WMF-only extension might be a good idea if we want to keep it, though (as suggested on the bug), but I suggest that we keep it killed and create a separate pref for Thanks if it needs it (and possibly migrate the values).


(In reply to comment #4)
> Did anyone talk to Kaldari, Fabrice, et al before merging this? I don't think
> it was intentional to remove the preference without at least notifying the
> community that opt-out was being taken away. You can see from the link I
> provided that the community and the primary author of the feature (Kaldari)
> seem to be taken off-guard here.

Benny (who wrote that patch) is (or was last time I asked) the sole programmer currently working on Echo, and Thanks seems to be basically a part of that (Erik Bernhardson was – again, last time I asked – mostly working on Flow; I don't know of any place where this could be checked without asking everyone separately :) ). Kaldari mentioned leaving the E2 team back when it was called E2, so he's probably not that interested.


(In reply to comment #6)
> Plus, did we check that there were no other currently deployed extensions
> depending on the preference?

I assume Benny would know. I am not aware of any myself (except for Thanks).


> I am unaware of how we can check for dependencies
> on preferences (other than say, grepping for the preference name).

There isn't any, which is one of the reasons why this was a bad idea. Other experimental tools like VE use separate preferences, IMO Thanks should too.
Comment 8 Oliver Keyes 2013-10-09 16:38:49 UTC
I think beta features should help with things like this in the future, but I'm concerned that the decision was made to make it available for all without any kind of notification of the community (that I can see, anyway). I'm going to follow this up internally.
Comment 9 Bartosz Dziewoński 2013-10-09 16:47:13 UTC
(In reply to comment #8)
Sounds like a storm in a teacup.

Anyway, if we want to have this work again for now and right now, we'd just have to roll back the Vector version deployed on the cluster a few commits back (to the one before the offending patch linked above).
Comment 10 Erik Bernhardson 2013-10-09 17:10:29 UTC
At least in regards to the Thanks extension, benny has deployed https://gerrit.wikimedia.org/r/#/c/87023/ which essentially makes Thanks no longer experimental(no longer uses vector-noexperiments) and gives it to all users.

I'm indifferent on what other extensions want to do/not do here.
Comment 11 Steven Walling 2013-10-09 20:16:01 UTC
Okay, since this issue is specific to Thanks, and I don't think we want to back out the change by Benny et al. (I'd like to remove dependencies on Vector extension just like everyone else). I'll resolve this and we can talk more about how to deal with the Thanks use case in another discussion. 

Resolving as invalid since a preference that was removed should by definition not work. ;)

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


Navigation
Links