Extension:Echo/Creating a new notification type

Notifications system allows logged in users to receive alerts and notices about their interactions with connected wikis. In Wikimedia projects, this means wikis in the cluster, but the Notifications system can also be used by third-parties - either in a single wiki or a series of connected wikis to utilize the cross-wiki notification system

The system allows extension developers the ability to add new notification types that users can receive under certain circumstances. This document will outline the way to create such notification, explain best practices and formulate the known pitfalls to avoid.