mediawiki-extensions-Linter/includes
Kunal Mehta 4f4b700fbd Fix off-by-one error around MAX_ACCURATE_COUNT
Currently we select 20 rows, and return the accurate count if it's less
than that, so up to 19 rows. Since we want to return an accurate count
if it's 20 rows or less, select one more row, 21, so we can differentiate
between only having 20 result rows or hitting the limit. This is the same
technique used in MediaWiki's Pager system.

Change-Id: I50fa96238eb4c7178414ee92c53799fd69520926
2021-08-06 13:05:29 -07:00
..
ApiQueryLintErrors.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
ApiQueryLinterStats.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
ApiRecordLint.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
CategoryManager.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
Database.php Fix off-by-one error around MAX_ACCURATE_COUNT 2021-08-06 13:05:29 -07:00
Hooks.php build: Updating composer dependencies 2021-05-05 06:09:03 +00:00
LintError.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
LintErrorsPager.php build: Updating composer dependencies 2021-05-05 06:09:03 +00:00
MissingCategoryException.php Update Legoktm's email address 2021-04-11 19:08:44 -07:00
RecordLintJob.php Allow Parsoid to provide category ID hints 2019-12-03 23:26:34 -05:00
SpecialLintErrors.php Fix bunch of PHPCS errors 2021-04-17 13:42:01 +02:00
TotalsLookup.php build: Updating composer dependencies 2021-05-05 06:09:03 +00:00