Adding GetNewMessagesAlert hook and wgUserNewMsgRevisionId JS global
authorkaldari <kaldari@gmail.com>
Sun, 5 May 2013 01:08:58 +0000 (18:08 -0700)
committerkaldari <kaldari@gmail.com>
Sun, 5 May 2013 03:21:41 +0000 (20:21 -0700)
commitbc34b5867a333d3c6f8ac1b68dcd39da77d3e2c2
tree3b82af4ee727ec1864cefcf9fcb0b0f973f11888
parentb9ce239334a567edd89c4cfb8336b63d75a241dc
Adding GetNewMessagesAlert hook and wgUserNewMsgRevisionId JS global

This hook allows extensions to disable or modify the new messages
alert ('orange bar of doom') while still allowing the user_newtalk
table to be updated.

The wgUserNewMsgRevisionId JS global allows gadgets and extensions
to create their own new message alerts on the client side.

I also threw in a few comment updates for good measure!

See also Echo change I3f35a56b which utilizes this.

Bug: 47962
Change-Id: I2105bdd2bcd5b27f6f36ec8d8fa7fa99d60a2d82
RELEASE-NOTES-1.22
docs/hooks.txt
includes/OutputPage.php
includes/Skin.php
includes/User.php
includes/WikiPage.php