mediawiki.notification: Return the Notification object from .notify calls
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 1 Feb 2014 02:41:49 +0000 (03:41 +0100)
committerOri.livneh <ori@wikimedia.org>
Thu, 20 Feb 2014 08:36:31 +0000 (08:36 +0000)
commit03aba1aa0d8d9fde437b1dadb5a46759865c8667
tree79c8a1b2d891700e1788d8c3866aaa2d842bf77e
parentf88fcb746139b5f1da6c319689a551fb89f17b91
mediawiki.notification: Return the Notification object from .notify calls

The implementation is solid, stable and already includes sanity checks
that make it difficult to shoot oneself in the foot.

This essentially makes the class no longer private; adjusted
documentation accordingly.

Bug: 57400
Change-Id: Icecc75e05a1f9a46e8de984c401a0292817d0d4c
maintenance/jsduck/categories.json
resources/mediawiki/mediawiki.notification.js