I would like to show a list of users currently browsing the wiki. Is there a way to achieve this? If not, can I at least show how many are currently online?
-Josh
Bass, Joshua L wrote:
I would like to show a list of users currently browsing the wiki. Is there a way to achieve this? If not, can I at least show how many are currently online?
-Josh
We currently do not track the last time a user visisted the wiki. You want to keep track of the last time a user visited a page (thats one more sql insert per page view). Sounds like an easy patch.
Am 25.09.2005 um 16:00 schrieb Ashar Voultoiz:
We currently do not track the last time a user visisted the wiki. You want to keep track of the last time a user visited a page (thats one more sql insert per page view). Sounds like an easy patch.
actually it's an UPDATE not an INSERT, and (expect for InnoDB) the first timestamp in the table can be automatically-updated.
http://dev.mysql.com/doc/mysql/en/timestamp-4-1.html
ciao, tom
-- http://de.wikipedia.org/wiki/Benutzer:TomK32 http://www.tomk32.de
mediawiki-l@lists.wikimedia.org