Last modified: 2014-09-14 13:54:26 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 T43291, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41291 - [mediawiki.feedback.js] Add checkbox to submit user-agent info
[mediawiki.feedback.js] Add checkbox to submit user-agent info
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nischay Nahata
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-22 23:56 UTC by Erik Moeller
Modified: 2014-09-14 13:54 UTC (History)
13 users (show)

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


Attachments

Description Erik Moeller 2012-10-22 23:56:14 UTC
resources/mediawiki/mediawiki.feedback.js is a little-known built-in software feedback feature that's used by a couple of extensions, notably UploadWizard and VisualEditor.

It posts feedback to a wiki page. It used to also post user-agent information for debugging alongside the feedback. The user-agent information from posted feedback was removed in:

https://gerrit.wikimedia.org/r/#/c/26417/

While the fact that user-agent information is published was disclosed, there was concern that it would be preferable to add an explicit checkbox. The following text has been vetted by legal:

[ ] I understand that my user agent information includes information about my exact browser and operating system version and will be shared publicly alongside my feedback. I agree to provide feedback in accordance with the Terms of Use. 

On WMF sites, that would link to https://wikimediafoundation.org/wiki/Terms_of_Use - not sure we have a standard MW message that would apply here.
Comment 1 Nischay Nahata 2012-11-10 09:59:10 UTC
I have a change ready for this, will push soon.
Comment 2 Nischay Nahata 2012-11-10 11:16:01 UTC
Change https://gerrit.wikimedia.org/r/#/c/32700/ 
Better ideas on msgs?
Comment 3 Jesús Martínez Novo (Ciencia Al Poder) 2012-12-08 12:41:08 UTC
Posting here my review about the proposed label associated to the new checkbox:

(...) The message is associated to a checkbox saying 2 very different things:
1. Willing and knowledge about sharing browser information
2. Acceptance of Terms of Use

This makes me think that I HAVE TO mark the checkbox in order to actually submit my feedback, and that along my feedback the User Agent will be visible, and if I don't mark that checkbox it means I don't agree with the Terms of Use and feedback won't be submitted.

This is not what actually happens: Leaving the check unmarked still allows the user to submit the feedback, but without providing the User Agent information.

If the actual behavior is the desired one, the message needs to be split, or at least provide clear "feedback" that the checkbox is totally unrelated to Terms of Use acceptance.
Comment 4 Rob Moen 2012-12-12 02:36:21 UTC
Patch amended with form validation and requirement of checkbox being ticked.
Comment 5 Andre Klapper 2013-07-25 07:52:58 UTC
Patch in Gerrit (link in comment 2) still needs review.
Comment 6 Nemo 2014-09-02 14:27:55 UTC
I very much agree this is needed, especially for https://commons.wikimedia.org/wiki/Commons:Upload_Wizard_feedback where many sections are made of little use for lack of any browser information.

However I think there ought to be a much simpler solution: why can't the dialog just add the requested user-agent information in the text area? Instead of being blank, the "message" could be prefilled with "~~~~ (using Firefox 30)" or similar (when configured to do so). The user would have a very obvious way to remove the information by deleting it from the message; if they don't, it will be covered by https://meta.wikimedia.org/wiki/Privacy_policy#Because_You_Made_It_Public
Comment 7 James Forrester 2014-09-02 14:46:55 UTC
(In reply to Nemo from comment #6)
> However I think there ought to be a much simpler solution: why can't the
> dialog just add the requested user-agent information in the text area?
> Instead of being blank, the "message" could be prefilled with "~~~~ (using
> Firefox 30)" or similar (when configured to do so). The user would have a
> very obvious way to remove the information by deleting it from the message;
> if they don't, it will be covered by
> https://meta.wikimedia.org/wiki/Privacy_policy#Because_You_Made_It_Public

Though that sounds attractive, I'm told that that would not be appropriate, informed consent.
Comment 8 Nemo 2014-09-02 20:19:48 UTC
(In reply to James Forrester from comment #7)
> Though that sounds attractive, I'm told that that would not be appropriate,
> informed consent.

How is it different from posting on a talk page? Surely such a difference can be eliminated.
Comment 9 James Forrester 2014-09-02 20:52:31 UTC
(In reply to Nemo from comment #8)
> (In reply to James Forrester from comment #7)
> > Though that sounds attractive, I'm told that that would not be appropriate,
> > informed consent.
> 
> How is it different from posting on a talk page? Surely such a difference
> can be eliminated.

When you post on a talk page you write every byte that gets inserted (except for ==s for new sections and PST substitutions). That's very different from auto-inserting private data (their user agent string) and hoping that they recognise it as such and remove it if they're not comfortable with that level of privacy intrusion.
Comment 10 Nemo 2014-09-14 13:50:49 UTC
(In reply to James Forrester from comment #9)
> When you post on a talk page you write every byte that gets inserted 

Definitely not,

> (except
> for ==s for new sections and PST substitutions). 

as you say yourself,

> That's very different from
> auto-inserting

and how about the preload parameter?
If pre-save transform is consider radically different from preload, we could use a new magic word OMGREALLYSCARYPRIVATEDATABUTPLEASESHAREIFYOUWANTTOHELPTHESOFTWARE.
Comment 11 Jesús Martínez Novo (Ciencia Al Poder) 2014-09-14 13:54:26 UTC
(In reply to James Forrester from comment #9)
> When you post on a talk page you write every byte that gets inserted (except
> for ==s for new sections and PST substitutions).

Now that you mention that, I'd say that if you're not logged in, your IP address is also included on the page history.

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


Navigation
Links