Last modified: 2014-10-19 23:50:18 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 T72759, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70759 - Bucketing not working correctly for recommendations
Bucketing not working correctly for recommendations
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GettingStarted (Other open bugs)
unspecified
All All
: Highest normal with 1 vote (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 08:06 UTC by Steven Walling
Modified: 2014-10-19 23:50 UTC (History)
11 users (show)

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


Attachments

Description Steven Walling 2014-09-12 08:06:15 UTC
Per reports from https://de.wikipedia.org/wiki/Wikipedia_Diskussion:Kurier#Empfehlungen it appears that some users with accounts that are definitely not new are receiving both the post-edit recommendation and the flyout. 

Strangely, this issue does not appear with accounts on English Wikipedia. This is true even for the same accounts on the other wiki (as tested by Eloquence.)
Comment 1 DaB. 2014-09-12 10:51:37 UTC
My bet is that the tool does not check if there is NO account-creation-date.
Comment 2 Umherirrender 2014-09-12 13:00:24 UTC
Yes, it seems that all affected user does not have a date in the user_registration field on the user table. When using the wrong method in mediawiki the NULL from the database gets handled as a now.

In other words User::getRegistration can return null and needs use of wfTimestampOrNull() instead of wfTimestamp() to get the unix timestamp (or null).
Comment 3 entlinkt 2014-09-12 15:54:29 UTC
The feature has been disabled for *all* users in [[de:MediaWiki:Common.css]] because of this bug, so please don't be surprised if you won't get any testing results from dewiki.
Comment 4 Steven Walling 2014-09-12 16:20:52 UTC
(In reply to entlinkt from comment #3)
> The feature has been disabled for *all* users in [[de:MediaWiki:Common.css]]
> because of this bug, so please don't be surprised if you won't get any
> testing results from dewiki.

This disables only the notification you see after every edit. The recommendations link in the personal toolbar (Empfehlungen) should still be present. You can, of course, use CSS to turn either off in your personal skin settings.
Comment 5 Steven Walling 2014-09-12 16:28:52 UTC
(In reply to Steven Walling from comment #0)
> Per reports from
> https://de.wikipedia.org/wiki/Wikipedia_Diskussion:Kurier#Empfehlungen it
> appears that some users with accounts that are definitely not new are
> receiving both the post-edit recommendation and the flyout. 
> 
> Strangely, this issue does not appear with accounts on English Wikipedia.
> This is true even for the same accounts on the other wiki (as tested by
> Eloquence.)

Confirmed also on French Wikipedia.
Comment 6 -jkb- 2014-09-12 16:35:12 UTC
That's right. I get it on dewiki only.
Comment 7 Gerrit Notification Bot 2014-09-12 18:10:41 UTC
Change 160044 had a related patch set uploaded by Mattflaschen:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160044
Comment 8 Gerrit Notification Bot 2014-09-12 19:01:47 UTC
Change 160044 merged by jenkins-bot:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160044
Comment 9 Gerrit Notification Bot 2014-09-12 20:20:37 UTC
Change 160083 had a related patch set uploaded by Mattflaschen:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160083
Comment 10 Gerrit Notification Bot 2014-09-12 20:21:28 UTC
Change 160084 had a related patch set uploaded by Mattflaschen:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160084
Comment 11 Gerrit Notification Bot 2014-09-12 20:21:31 UTC
Change 160083 merged by jenkins-bot:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160083
Comment 12 Gerrit Notification Bot 2014-09-12 20:22:44 UTC
Change 160084 merged by jenkins-bot:
Exclude users with null user_registration

https://gerrit.wikimedia.org/r/160084
Comment 13 Steven Walling 2014-09-12 20:32:12 UTC
Patch merged and deployed. Please do a hard refresh to test, after we update Common.css.
Comment 14 Matthew Flaschen 2014-09-12 20:33:43 UTC
(In reply to Steven Walling from comment #13)
> Patch merged and deployed. Please do a hard refresh to test, after we update
> Common.css.

Sorry for the miscommunication.  The deployment is not complete yet.  I'll post here when it is.
Comment 15 Matthew Flaschen 2014-09-12 20:42:32 UTC
(In reply to Matthew Flaschen from comment #14)
> (In reply to Steven Walling from comment #13)
> > Patch merged and deployed. Please do a hard refresh to test, after we update
> > Common.css.
> 
> Sorry for the miscommunication.  The deployment is not complete yet.  I'll
> post here when it is.

It's complete now and Common.css is updated.
Comment 16 Nemo 2014-09-14 16:01:23 UTC
Also reported on it.wiki by valepert and others.

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


Navigation
Links