Last modified: 2013-08-21 14:31:19 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 T49435, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47435 - copyright notice can't be dismissed
copyright notice can't be dismissed
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-19 22:17 UTC by Lydia Pintscher
Modified: 2013-08-21 14:31 UTC (History)
11 users (show)

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


Attachments

Description Lydia Pintscher 2013-04-19 22:17:56 UTC
The copyright notice popup can't be dismissed anymore. This seems to have been introduced on wikidata.org with the update on April 18.
Comment 1 Aude 2013-04-20 21:14:21 UTC
https://gerrit.wikimedia.org/r/#/c/58065/ appears to cause this issue
Comment 2 Gerrit Notification Bot 2013-04-20 21:41:17 UTC
Related URL: https://gerrit.wikimedia.org/r/60133 (Gerrit Change I0d89bea59421883de5765e445666267adf02482d)
Comment 3 Aude 2013-04-20 21:45:09 UTC
I think this tooltip also should have a css id so that users could hide it with user css/js if they prefer, but not doing that in this change.
Comment 4 Gerrit Notification Bot 2013-04-22 14:31:33 UTC
Related URL: https://gerrit.wikimedia.org/r/60277 (Gerrit Change I8d2517568b394f9da8e2ad753e5c8d9fe9595a45)
Comment 5 Gerrit Notification Bot 2013-04-22 14:36:50 UTC
https://gerrit.wikimedia.org/r/60277 (Gerrit Change I8d2517568b394f9da8e2ad753e5c8d9fe9595a45) | change APPROVED and MERGED [by Tobias Gritschacher]
Comment 6 Gerrit Notification Bot 2013-04-22 15:36:54 UTC
Related URL: https://gerrit.wikimedia.org/r/60284 (Gerrit Change I8d2517568b394f9da8e2ad753e5c8d9fe9595a45)
Comment 7 Gerrit Notification Bot 2013-04-22 15:51:52 UTC
https://gerrit.wikimedia.org/r/60284 (Gerrit Change I8d2517568b394f9da8e2ad753e5c8d9fe9595a45) | change APPROVED and MERGED [by Aude]
Comment 8 Gerrit Notification Bot 2013-04-22 15:57:09 UTC
https://gerrit.wikimedia.org/r/60133 (Gerrit Change I0d89bea59421883de5765e445666267adf02482d) | change ABANDONED [by Aude]
Comment 9 soulkeeper.wikipedia 2013-04-22 18:04:55 UTC
It still doesn't remember that you have clicked "Do not show this message again" for very long.
Comment 10 tobias.gritschacher 2013-04-28 13:19:08 UTC
(In reply to comment #9)
> It still doesn't remember that you have clicked "Do not show this message
> again" for very long.

The cookie should stay forever. But if you switch the language you'll have to dismiss the dialog for that language again.
Comment 11 soulkeeper.wikipedia 2013-05-08 12:09:26 UTC
I see that the status has been changed to "Verified" now. Good. 

The setting is forgotten as soon as you turn your back your browser for more than a moment. Possibly when the session expires. For me, it forgets the setting if I close my browser and start it again. Also if I leave the keyboard for more than a few minutes without closing the browser.

Besides, it should be possible to switch the language without losing settings. Wikidata is supposed to be a multilingual project, yes?
Comment 12 soulkeeper.wikipedia 2013-05-10 12:57:46 UTC
Ok, as FIXED seems to be code for WONTFIX, I wrote a small javascript that one can put in one's common.js if one so pleases. It may need adjustments for different languages. I'll be the first to admit that it's an ugly hack, but still no match for the nag box IMO. Improvements are welcome.

$(document).ready(function() {
	setInterval(function() {
		$('div.tipsy').each(function() {
			var txt = $(this).find('div.tipsy-inner span p').html();
			if (txt.substring(0,12)=='By clicking ') {
				$(this).remove();
			}
		});
	},250);
	return false;
});
Comment 13 Lydia Pintscher 2013-05-10 13:11:07 UTC
(In reply to comment #11)
> I see that the status has been changed to "Verified" now. Good. 
> 
> The setting is forgotten as soon as you turn your back your browser for more
> than a moment. Possibly when the session expires. For me, it forgets the
> setting if I close my browser and start it again. Also if I leave the
> keyboard
> for more than a few minutes without closing the browser.
> 
> Besides, it should be possible to switch the language without losing
> settings.
> Wikidata is supposed to be a multilingual project, yes?

This change isn't live on wikidata.org yet I believe. Also: Do you accept cookies?

Reopening to see if we can make this stick through language changes too.
Comment 14 soulkeeper.wikipedia 2013-05-10 13:33:48 UTC
Yes, my browser accepts cookies. (Didn't know I could even log in without them.) 

Yesterday, after dismissing the nag box, I had only one open tab (in Firefox). I clicked a Wikipedia link under the "List of pages linked to this item" header, then I almost immediately clicked the "Edit links" link in the Wikipedia sidebar to get back to Wikidata, and lo and behold, the nag box was back already, so I got to dismiss it twice in probably less than a minute.
Comment 15 Stryn 2013-06-03 15:51:41 UTC
This message still comes just if you close your browser and open it again.
Comment 16 Daniel Kinzler 2013-07-17 16:12:12 UTC
This problem seems to be two-fold:

* the cookie name includes the user's interface language
* the cookie has no expiry time set (so it defaults to "browser session")

Using a language independent name for the cookie and setting an expiry time of 10 years or so should fix this.
Comment 17 denny vrandecic 2013-08-01 13:46:54 UTC
See also https://bugzilla.wikimedia.org/show_bug.cgi?id=47496 for a possible solution.
Comment 18 Daniel A. R. Werner 2013-08-01 17:56:18 UTC
The idea behind using the interface language was that we could display the message again as soon as it changes since the whole message string in that language was stored in the cookie.

We should set the expiry time though, that should improve the situation a lot.
Comment 19 Gerrit Notification Bot 2013-08-01 18:00:20 UTC
Change 77155 had a related patch set uploaded by Daniel Werner:
(bug 47435) Set expire time for cookies for dismissed copyright notice.

https://gerrit.wikimedia.org/r/77155
Comment 20 Lydia Pintscher 2013-08-02 02:14:57 UTC
Making it language-dependent for that is an ugly hack ;-)  Please solve this in another way. It's pretty annoying for people who switch languages on Wikidata.
Comment 21 Gerrit Notification Bot 2013-08-02 14:50:14 UTC
Change 77155 merged by jenkins-bot:
(bug 47435) Set expire time for cookies for dismissed copyright notice.

https://gerrit.wikimedia.org/r/77155

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


Navigation
Links