wiki.techinc.nl/tests/phpunit/includes
Petr Pchelko ebd35bdc85 Hard deprecate Revision::getParentLengths
As well hard-deprecate RevisionStore::listRevisionSizes.
It was marked as @deprecated, but the release for the
deprecation was not specified. Let's say it's 1.35.

Additionally, in order to avoid temporary code duplication,
listRevisionSizes now uses getRevisionSizes and ignores the
database object injected into it. This is ok since we're
hard-deprecating the method and all the usages have been
removed.

Bug: T246284
Change-Id: Ifad1c25a0af892b88fce492b2d34c8cf71279b70
2020-03-18 12:26:26 -07:00
..
actions Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
api Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
auth Enhance passwored reset message 2020-03-13 16:18:48 -07:00
block Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
cache cache: Remove use of $wgContLanguageCode in MessageCacheTest 2020-03-15 00:23:02 +00:00
changes EnhancedChangesList: add screen reader support to live changes 2020-03-10 21:17:57 +00:00
changetags tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
collation tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
config Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
content Tests: Remove unneeded uses of global $wgUser 2020-03-12 00:52:43 +00:00
context Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
db rdbms: reduce duplication in Database via helper methods 2020-03-10 22:26:04 +00:00
debug Stop accepting ApiMain instances in ApiResult::__construct 2020-03-18 15:57:05 +00:00
deferred Add RefreshSecondaryDataUpdate and use it in DerivedPageDataUpdater 2020-03-11 00:42:48 -07:00
diff Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
editpage Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
exception Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
externalstore Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
filebackend Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
filerepo Use MediaWikiServices::getRepoGroup in file related classes 2020-03-14 12:36:27 +00:00
GlobalFunctions Use MediaWikiServices::getMessageCache 2020-03-14 14:25:03 +01:00
htmlform HTMLForm: Allow status object to have raw parameters 2020-02-09 18:06:12 +01:00
http Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
import tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
interwiki Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
jobqueue Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
language Tests: Remove unneeded uses of global $wgUser 2020-03-12 00:52:43 +00:00
libs rdbms: reduce duplication in Database via helper methods 2020-03-10 22:26:04 +00:00
linkeddata Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
linker tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
logging Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
mail
media Remove auto-generated and empty lines in comments 2020-03-17 09:55:24 +01:00
Message MediaWiki\Message: Extract Message↔MessageValue conversion from TextFormatter 2019-11-26 08:58:05 +00:00
Navigation Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
objectcache SqlBagOStuff: Add a limit to key length 2020-02-26 13:22:51 -08:00
page WikiPageDbTestBase: Remove use of global $wgUser 2020-03-15 20:39:41 +00:00
pager
ParamValidator/TypeDef UserDef: Don't return incomplete UserIdentityValues 2020-02-19 15:28:40 -05:00
parser Allow storing additional CSP sources in ParserOutput 2020-03-12 17:39:51 -07:00
password Password policy to check if a password is a substring of a username 2020-01-13 23:09:13 +00:00
Permissions Merge "Revert "Replace weird stdClass mock with class actually expected"" 2020-03-03 23:09:07 +00:00
poolcounter Fixes for PHPUnit 8 compat in DB suite 2019-12-15 00:27:54 +00:00
preferences parser: Inject a LanguageConverterFactory through DI containers: 2020-02-04 14:42:03 +02:00
rcfeed tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
registration Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
resourceloader Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
Rest Add Content-Type to Headers 2020-02-14 14:22:03 -05:00
Revision Hard deprecate Revision::getParentLengths 2020-03-18 12:26:26 -07:00
search Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
session Allow SessionProviderInterface to say if it is safe against CSRF 2020-03-11 10:39:54 -05:00
shell Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
site Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
skins Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
sparql Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
specialpage Reduce usage of the Language class 2020-03-03 01:38:27 +03:00
specials Revert "Default to qqx in SpecialPageExecutor" 2020-03-17 15:11:17 +00:00
Storage Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
title Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
upload Use MediaWikiServices::getRepoGroup in file related classes 2020-03-14 12:36:27 +00:00
user Enhance passwored reset message 2020-03-13 16:18:48 -07:00
utils Move UIDGenerator code to a service and put it under /libs 2020-02-18 00:20:40 +00:00
watcheditem Fixes for batch watchlist deletion and relative expiries 2020-03-05 16:11:39 -05:00
ActorMigrationTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
ActorMigrationTest.sql
AutoLoaderTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
AutopromoteTest.php Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
CategoryTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
CommentStoreCommentTest.php
CommentStoreTest.php Remove CommentStore::newKey, deprecated and unused 2020-02-20 02:00:15 +00:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php include blob: as a default script-src 2020-02-27 19:02:55 +00:00
DeprecatedGlobalTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
DiffHistoryBlobTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
EditPageTest.php ApiEditPage: add baserevid parameter 2020-03-11 13:29:09 +01:00
ExportTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ExtraParserTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
FauxRequestTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
GitInfoTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
HooksTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
HtmlTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
LinkerTest.php Stop using assertContains with string haystack 2019-12-15 00:22:44 +00:00
LinkFilterTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ListToggleTest.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
MagicWordFactoryTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
MediaWikiServicesTest.php tests: Remove BC code for PHP < 7.1 2020-03-09 18:12:43 +01:00
MediaWikiTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MediaWikiVersionFetcherTest.php Provide MW_VERSION and deprecate fake global $wgVersion 2020-02-25 01:55:21 +00:00
MergeHistoryTest.php
MessageTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MovePageTest.php Remove Title move functions, deprecated in favor of MovePage class 2020-02-19 20:44:55 -08:00
MultiHttpClientTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
MWTimestampTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
OutputPageTest.php Allow storing additional CSP sources in ParserOutput 2020-03-12 17:39:51 -07:00
PagePropsTest.php PageProps: Minor clean up logic of PagePropsTest 2020-03-06 20:34:02 +00:00
PrefixSearchTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ReadOnlyModeTest.php
RevisionDbTestBase.php Hard deprecate Revision::getParentLengths 2020-03-18 12:26:26 -07:00
RevisionMcrDbTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
RevisionMcrReadNewDbTest.php
RevisionMcrWriteBothDbTest.php
RevisionTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
SiteStatsTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
StatusTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
SystemBlockTest.php
TemplateCategoriesTest.php
TemplateParserTest.php TemplateParser: Invalidate cache if partial changes 2020-03-03 11:14:38 +00:00
TestLocalisationCache.php Make LocalisationCache a service 2019-10-07 13:18:47 -07:00
TestLogger.php
TestUser.php
TestUserRegistry.php Add missing @param and @return to documentation 2019-11-16 13:45:55 +01:00
TimeAdjustTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
TitleMethodsTest.php Remove Title move functions, deprecated in favor of MovePage class 2020-02-19 20:44:55 -08:00
TitlePermissionTest.php Hard deprecate Title::getUserPermissionsErrors 2020-02-26 05:09:55 +00:00
TitleTest.php Hard deprecate Title::userCan and ::quickUserCan 2020-02-22 01:53:03 +00:00
WebRequestTest.php Fix most PHPUnit 8 compat issues in DBless tests 2019-12-15 00:24:21 +00:00
WikiMapTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
WikiReferenceTest.php
XmlTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00