mediawiki-extensions-Echo/includes
Matthias Mullie a35bf21084 'Load more' check should be based on retrieved data, not what could render
Since EchoEventPresentationModel::canRender can reject notifications,
its result should no longer be used for infinite scroll.

Current code checks if the amount of to-be-rendered data exceeds what
we need to display, but if we reject some notifications that may no
longer be the case, even though there is more data still.

Change-Id: I3e5f8c2d1fc0c63db7b277324c96af043689ddce
2015-11-18 11:06:22 +01:00
..
api API: Remove no-op wfProfile(In|Out) calls 2015-10-28 18:28:22 -07:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters EventPresentationModel: Add accessor for current user's username 2015-11-12 14:34:24 -08: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 Fix some phpdoc, add missing @throws 2015-11-12 14:10:52 -08:00
model Make EchoEvent::create() a no-op if the DB is read-only 2015-11-02 11:17:05 -08:00
special 'Load more' check should be based on retrieved data, not what could render 2015-11-18 11:06:22 +01:00
AttributeManager.php Update formatting 2015-10-03 23:28:54 -04:00
BatchRowUpdate.php build: Enable phpcs rule 'MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment' and make pass 2015-10-29 13:06:14 +01:00
ContainmentSet.php Remove unused code and fix missing/broken documentation 2014-06-04 04:54:00 +00:00
DataOutputFormatter.php build: Enable phpcs rule 'PSR2.Classes.PropertyDeclaration.ScopeMissing' and make pass 2015-10-29 13:06:43 +01:00
DeferredMarkAsReadUpdate.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
DiffParser.php build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Unstub $wgLang before passing it to DiscussionParser::getTextSnippet() 2015-11-16 10:41:51 -08:00
EchoDbFactory.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBatch.php IDatabase::delete() does not take a fourth parameter 2015-10-30 10:49:59 -07:00
EmailBundler.php IDatabase::delete() does not take a fourth parameter 2015-10-30 10:49:59 -07:00
EmailFormatter.php Update formatting 2015-10-03 23:28:54 -04:00
EventLogging.php EventLogging: Make sure eventId is an integer 2015-10-21 11:08:50 -07:00
NotifUser.php Remove unused NotifUser::getFormattedNotificationCount() 2015-11-12 11:21:56 -08: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