Jérémie Roquet á écrit:
> 2011/1/11 Ilmari Karonen <nos...@vyznev.net>:
>> 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,

Feel free to send us patches. :)
See my previous message about using CentralAuth for that. CentralAuth
extension is not really an entry level extension, but you may have luck
since you would just be adding hooks.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to