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

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krinklem...@gmail.com

--- Comment #7 from Krinkle <krinklem...@gmail.com> 2010-12-07 18:51:54 UTC ---
Aside from existing extensions, we should not forget that it should work with
CentralAuth, assuming we will not differentiate between accounts that are
essentially the same.

I think logging in/logging out is a good way to do it.

a mw_user_status table could exist with columns us_user and us_touched within
centralauth. Each row a user that is online.
When logging out the entry is removed, when logging it an entry is added.
When making an edit or log action (!) the column us_touched is updated..

When viewing user-page or user-talk-page of a user that has this preference
enabled for his SUL-account (just like emailadres is centralized) the status
returned is either offline (if there is no row in mw_user_status), online (if
us_touched is empty or less then X minutes ago) or away (if us_touched is more
than X minutes ago).

X minutes could be set per-user.
ie. if my preference 'status-away-minutes' is set to 5 minutes and John Doe's
last action was 5,1 minute ago, I see it as away.

Personally I think adding custom statuses and allowing users to set it to away
themselfs is too much, but that's just me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to