mediawiki-extensions-Echo/includes
Stephane Bisson 6e2236db81 Moderate notifications
* When a page is deleted, moderate associated
  notifications. When it is undeleted, unmoderate.

* When a notification cannot be rendered
  (canRender() returns false), moderate it.

The biggest advantage of moderation over mark-read-and-ignore
is that those notifications are filtered out at the database
level from this point on. They are not re-processed every single
time and do not affect the number of notifications returned by
the API.

Bug: T140327
Bug: T140836
Bug: T141463
Change-Id: Idefe78408fd584c13aaa9174cee3055539d92848
2016-08-19 22:20:04 +00:00
..
api Follow-up 4e64643eb: Count pageless notifications when counting pageless notifications 2016-08-15 11:35:28 -07:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller Moderate notifications 2016-08-19 22:20:04 +00:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Merge "Add a rasterized email icons to Echo modules for email" 2016-08-16 23:27:04 +00:00
gateway Dynamic bundles 2016-06-27 09:49:13 -04:00
iterator Get rid of pre-5.4 CallbackFilterIterator implementation 2016-02-12 14:20:16 -08:00
jobs Get rid of email bundling 2016-05-17 16:24:16 -04:00
mapper Moderate notifications 2016-08-19 22:20:04 +00:00
model Moderate notifications 2016-08-19 22:20:04 +00:00
ooui No-JS special page: One-click mark as read 2016-05-27 17:23:29 -07:00
special Include the 'no notifications' message in nojs div 2016-08-16 17:25:14 -07:00
AttributeManager.php Display special: Add which section (curr. Alert v. Msg.) each type's in 2016-04-28 20:33:52 +00:00
Bundleable.php Dynamic bundles 2016-06-27 09:49:13 -04:00
Bundler.php Dynamic bundles 2016-06-27 09:49:13 -04:00
ContainmentSet.php Switch $wgMemc usage to proper cache/stash usage 2016-04-22 11:58:03 -07:00
DataOutputFormatter.php Moderate notifications 2016-08-19 22:20:04 +00:00
DeferredMarkAsDeletedUpdate.php Moderate notifications 2016-08-19 22:20:04 +00:00
DiffParser.php build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Fix mention failures not beeing sent. 2016-08-15 14:25:22 +02:00
EchoDbFactory.php Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
EmailBatch.php Merge "Dynamic bundles" 2016-06-28 19:34:42 +00:00
EmailFormat.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EmailFrequency.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EventLogging.php Flip the parameter name and its type in phpdoc of MWEchoEventLogging 2016-08-16 15:01:57 +02:00
ForeignNotifications.php Link project labels in xwiki bundle to their Special:Notifications page 2016-05-16 13:33:18 -07:00
ForeignWikiRequest.php Fix typo (canUseCentralAuthl -> canUseCentralAuth) 2016-07-19 10:16:57 -07:00
Notifier.php Don't send empty emails 2016-06-28 09:19:01 -04:00
NotifUser.php backfillUnreadWikis: Skip updateCount if race condition detected 2016-07-18 20:58:48 -04:00
ResourceLoaderEchoImageModule.php Add a rasterized email icons to Echo modules for email 2016-08-16 00:21:13 +00:00
schemaUpdate.php Clean up and fix updateEchoSchemaForSuppression.php 2016-06-06 23:56:28 +02:00
SeenTime.php When fetching combined seenTime, get 'min' value rather than max 2016-08-01 19:14:51 +00:00
UnreadWikis.php backfillUnreadWikis: Skip updateCount if race condition detected 2016-07-18 20:58:48 -04:00
UserLocator.php Replace EchoBatchRowUpdate with BatchRowUpdate 2015-12-16 16:36:59 +00:00