Last modified: 2009-04-27 23:37:02 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 T15520, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13520 - Online/offline switch in user interface
Online/offline switch in user interface
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 http://en.wikipedia.org/wiki/User:Misza13/Scripts#statusChanger or http://en.wikipedia.org/wiki/User:Topaz/statuschanger.js .

These hacks work using subpages that people modify each time they change their status (see for instance http://en.wikipedia.org/w/index.php?title=User:Omtay38/Status&action=history )

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 (http://www.mediawiki.org/wiki/Extension: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.


Navigation
Links