2011/1/11 Ilmari Karonen <[email protected]>: > On 01/11/2011 11:59 AM, Jérémie Roquet wrote: >>> And there's a handy property to determine if you have new messages: >>> http://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=hasmsg >> >> Unfortunately (or fortunately), userinfo cannot be retrived using jsonp [1]. >> >> [1] « callback - If specified, wraps the output into a given function >> call. For safety, all user-specific data will be restricted. » — > > Hmm, true. You might be able to emulate the functionality by using > prop=info on the user's talk page (and perhaps storing the last time the > user visited the page in a cookie).
Hi again. Sorry for the late reply (as I read most of wikitech-l threads in batch, I missed that one after the subject change). Yes, that's a good idea and I think I'll do something like this. Thanks! > (Ps. It strikes me that the simplest and most efficient way to implement > cross-wiki user talk notifications would be as a MediaWiki extension. > Why do we not have one already?) Sure. It would be both far more efficient and easier to set up. I guess I should really dive into MediaWiki development… Best regards, -- Jérémie _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
