mediawiki-extensions-Echo/includes
Kunal Mehta 56c4b95087 Clean up and refactor formatting system
The workflow to format a notification is
* Get EchoEvent, User, and Language
* Get EchoEventFormatter implementation for notification type
** EchoEventFormatter returns structured data about each part of the
notification (header, body, primary link, secondary link(s))
* Each output type will have a formatter class (e.g.
EchoSpecialNotificationsFormatter, EchoPlainTextEmailFormatter) which
takes a EchoEventPresentationModel and generates whatever it wants
(HTML, plain-text email, etc).

Included is an example conversion of the user-rights and mention
formatters. The previous infrastructure will remain in place for
backwards compatability until other extensions can be updated.

Bug: T107823
Change-Id: I4397872a7ec062148dfcb066ddd8ab83f40486ac
2015-10-19 10:00:23 -07:00
..
api Update formatting 2015-10-03 23:28:54 -04:00
cache Update formatting 2015-10-03 23:28:54 -04:00
controller Update formatting 2015-10-03 23:28:54 -04:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Clean up and refactor formatting system 2015-10-19 10:00:23 -07:00
gateway Update formatting 2015-10-03 23:28:54 -04:00
iterator Update formatting 2015-10-03 23:28:54 -04:00
jobs Update formatting 2015-10-03 23:28:54 -04:00
mapper Update formatting 2015-10-03 23:28:54 -04:00
model SECURITY: Handle suppressed usernames in non-revision based events 2015-10-16 14:56:43 -07:00
special Update formatting 2015-10-03 23:28:54 -04:00
AttributeManager.php Update formatting 2015-10-03 23:28:54 -04:00
BatchRowUpdate.php Update formatting 2015-10-03 23:28:54 -04:00
ContainmentSet.php Remove unused code and fix missing/broken documentation 2014-06-04 04:54:00 +00:00
DataOutputFormatter.php Clean up and refactor formatting system 2015-10-19 10:00:23 -07:00
DeferredMarkAsReadUpdate.php Mark notifications as read if they fail rendering 2014-09-08 14:22:10 -07:00
DiffParser.php Update formatting 2015-10-03 23:28:54 -04:00
DiscussionParser.php Update formatting 2015-10-03 23:28:54 -04:00
EchoDbFactory.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBatch.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBundler.php Update formatting 2015-10-03 23:28:54 -04:00
EmailFormatter.php Update formatting 2015-10-03 23:28:54 -04:00
EventLogging.php Update formatting 2015-10-03 23:28:54 -04:00
NotifUser.php Update formatting 2015-10-03 23:28:54 -04:00
schemaUpdate.php Update formatting 2015-10-03 23:28:54 -04:00
SeenTime.php Update formatting 2015-10-03 23:28:54 -04:00
UserLocator.php Update formatting 2015-10-03 23:28:54 -04:00