On Mon, Aug 4, 2008 at 1:14 PM, Chris Howie <cdhowie(a)gmail.com> wrote:
On Mon, Aug 4, 2008 at 5:50 AM, Magnus Manske
<magnusmanske(a)googlemail.com> wrote:
No matter, found one.
http://en.wikipedia.org/wiki/User:Magnus_Manske/templates_only_talk.js
Will display a talk link for main namespace as "new" if the talk page
only contains templates.
I believe this will fail if the client's connection is slow enough
since you don't handle onreadystatechange, but instead jump right into
handling the response (which may not be available that soon).
The request is done synchronously, so the send() will wait until the
respone is availavle.
Magnus