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

--- Comment #6 from MZMcBride <b...@mzmcbride.com> ---
(In reply to comment #4)
> (In reply to comment #3)
>> Though perhaps a one-size-fits-all approach here doesn't make sense. For a
>> brand-new user, you might want the notice to stay up for five seconds. For a
>> user with 10,000 edits, two seconds (or less...) probably makes sense. We're
>> not operating blind: we know how many edits a user has, how long they've been
>> registered, etc. I think it probably makes sense to use this information to
>> our advantage.
> 
> We don't know these things in client-side code unless we explicitly pack them
> into the response (usually using a MakeGlobalVariablesScript handler), which
> I'd rather not do.

In the page source of <https://en.wikipedia.org/wiki/Main_Page> while logged
in, I currently see...

"wgEditCount":"164291"
"wgUserId":212624
{"registration":"20050531222515","editcount":164272,"pastyearseditcount":91337}

We know these things both client-side and server-side.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to