Last modified: 2009-04-27 23:37:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13520 - Online/offline switch in user interface
Online/offline switch in user interface
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-26 16:38 UTC by Guillaume Paumier
Modified: 2009-04-27 23:37 UTC (History)
3 users (show)

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


Description Guillaume Paumier 2008-03-26 16:38:56 UTC
Many users (particularly at the English-language Wikipedia) like to display on their userpage whether they are online or not. For this purpose, they use ugly hacks such as or .

These hacks work using subpages that people modify each time they change their status (see for instance )

This seems to me a total waste of resources that would be advantageously replaced by a one-click built-in toggle button. There is no need for keeping an history about this, nor for using a wiki page for this purpose. An output would be needed to display this status somewhere on the user page.
Comment 1 Alexandre Emsenhuber [IAlex] 2008-04-09 18:17:24 UTC
Added OnlineStatus ( ) extension for this. Now needs to be activated on WMF wikis :).
Comment 2 Guillaume Paumier 2008-04-09 18:35:56 UTC
Thanks! Marking the bug as FIXED then. Whether it is activated on WMF wikis or not will be the subject of another request.

Could you please provide some basic information about performance? I mean, for big wikis like Wikipedia or so, it is going to behave better than the current way it is done (i.e. one edit each time one changes their status)?
Comment 3 Alexandre Emsenhuber [IAlex] 2008-04-10 21:02:51 UTC
For some basic performance informations about this extension, it clears cache of user and user talk pages when preferences are saved to be sure that displayed informations are up to date. I didn't find how to see wich preferences are changed when SavePreferences hook is called (the one i use to clear the caches), so for now it clears caches at each preferences changed even if the status isn't changed. Maybe i can implement a feature to also pass old preferences to the hook. But changing status doesn't create a new revision, recent changes entry, ... and changes should be viewable immediately on user (talk) page as it doesn't need to wait for the job queue.
Comment 4 X! 2009-01-29 04:16:41 UTC
*** Bug 17218 has been marked as a duplicate of this bug. ***

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