mediawiki-extensions-Echo/modules
Moriel Schottlender e9264022a7 (re)Add JavaScript hooks to Notifications
Added the following Javascript hooks:
* ext.echo.notifications.beforeRender: Firing before a group of
  notification widgets are rendered, whether in the popup, in
  the special page, or in a cross-wiki bundle (which requires
  async loading)
* ext.echo.badge.countChange: Fired when the badge count changes
  with the notification type, count and the label count for
  display purposes.
* ext.echo.popup.onInitialize: Fired when the popup is opened and
  after notifications were fetched, with the context of the popup
  notification type.
* ext.echo.special.onInitialize: Fired when the special page is
  ready and notifications were fetched. Note that it will be fired
  whenever the special page is updated with notifications list,
  as well, like when changing filter, remote wiki or pagination.

The hooks were also documented in hooks.txt

Bug: T146296
Change-Id: Ie3dc97f97e8d1f90b67f62fcdc65dd29cb379aad
2016-10-14 17:25:25 -05:00
..
api Convert 'seenTime' to a global property 2016-09-19 14:37:31 -07:00
controller Merge "Convert 'seenTime' to a global property" 2016-09-20 23:22:26 +00:00
icons Merge "Add confirmation popup widget" 2016-09-02 23:28:09 +00:00
logger Log the mark entire cross-wiki bundle as read action 2016-08-15 17:18:27 -07:00
model Convert 'seenTime' to a global property 2016-09-19 14:37:31 -07:00
nojs Merge "Add confirmation popup widget" 2016-09-02 23:28:09 +00:00
special Remove apparently unused PNG files 2016-09-02 12:28:28 -07:00
styles Merge "Remove js-truncation of descriptions in Special:Notifications desktop" 2016-09-10 02:49:02 +00:00
ui (re)Add JavaScript hooks to Notifications 2016-10-14 17:25:25 -05:00
echo.mixins.less
echo.variables.less Fix notification page width responsiveness issues 2016-09-01 18:02:06 -07:00
ext.echo.init.js Merge "Enable local bundles on mobile" 2016-08-05 22:00:35 +00:00
ext.echo.moment-hack.js
hooks.txt (re)Add JavaScript hooks to Notifications 2016-10-14 17:25:25 -05:00
mw.echo.js