wiki.techinc.nl/tests/phpunit/includes
Aryeh Gregor 090f6daa1b Move getPrevious/NextRevision logic out of Title
They belong in RevisionStore. This change removes the dependency on
Title for these methods and will assist in porting more code to
LinkTarget.

At the same time, deprecate the Title parameter to
RevisionLookup/RevisionStore getPreviousRevision/getNextRevision, and
add a $flags parameter to match the functionality of the Title versions.
Since code search turned up no callers that passed a Title outside core,
this variant is immediately hard-deprecated. The Title methods
themselves are only soft-deprecated.

Change-Id: I76bc6fd6ee1a9f35b5f29fa640824fb5da3bb78e
2019-05-05 21:08:46 +03:00
..
actions Add PHPUnit tests for methods in ViewAction::class 2018-11-20 18:13:50 +01:00
api Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
auth Avoid/Replace usage of deprecated wfMemcKey() function 2019-05-02 14:27:31 +00:00
block Introduce a BlockManager service 2019-04-29 17:47:55 +01:00
cache Default $wgActorTableSchemaMigrationStage to READ_NEW 2019-04-09 13:50:41 -04:00
changes Get rid of unnecessary func_get_args() and friends 2019-04-12 20:17:01 +00:00
changetags Fix ChangeTagsTest failing on Postgres 2019-03-15 10:10:33 +01:00
collation
composer
config Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
content Merge "JsonContent: Add missing prefix to selector" 2019-04-15 15:25:52 +00:00
context
db Mock IDatabase::class instead of DatabaseMysqli::class 2019-05-01 17:38:11 +02:00
debug Fix class name handling in DeprecationHelper 2019-04-19 01:09:25 -07:00
deferred Expose external link additions and deletions 2019-02-07 17:09:36 -05:00
diff Fix order of @var parameter in PHP 2019-04-08 18:37:56 +02:00
editpage
exception
externalstore
filebackend Remove a few obscure "done" and "empty" comments 2019-01-30 20:35:14 +00:00
filerepo Mock IDatabase::class instead of DatabaseMysqli::class 2019-05-01 17:38:11 +02:00
GlobalFunctions GlobalFunctions: Remove usage of wfArrayFilter & wfArrayFilterByKey 2019-04-27 07:48:07 +01:00
htmlform Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
http Use https://www.php.net/ instead of https://secure.php.net/ 2019-04-12 06:44:48 +02:00
import Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
installer Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
interwiki
jobqueue jobqueue: Follow-up for fc5d51f129 (added GenericParameterJob) 2019-04-25 15:44:11 +00:00
json Finish FormatJson::encode() test coverage 2019-02-02 22:04:35 -08:00
libs Get rid of unnecessary func_get_args() and friends 2019-04-12 20:17:01 +00:00
linkeddata linkeddata: Simplity PageDataRequestHandler test setup 2019-04-01 14:20:19 +00:00
linker Simplify strings in PHP code 2019-03-01 22:16:26 +01:00
logging Linker: Use parentheses by default in userToolLinksRedContribs() 2019-04-19 15:09:36 -07:00
mail
media Remove broken explode() from MediaWikiMediaTestCase::dataFile() 2019-03-28 23:01:27 +00:00
objectcache
page Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
pager
parser Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
password Remove empty and unnecessary /* @{{ … */ comments 2019-03-15 14:59:19 +01:00
Permissions Set global config for test to avoid failure 2019-04-14 14:31:23 +01:00
poolcounter Get rid of unnecessary func_get_args() and friends 2019-04-12 20:17:01 +00:00
preferences Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
rcfeed
registration registration: Allow to require environment abilities 2019-04-13 08:14:44 -07:00
resourceloader Merge "resourceloader: Omit non-existent messages in MessageBlobStore" 2019-04-19 00:47:45 +00:00
Revision Don't require Title for getTimestampFromId 2019-05-05 14:35:53 +03:00
search Fix order of @var parameter in PHP 2019-04-08 18:37:56 +02:00
session Fixed typo 'implments' and 'implmented' 2019-03-21 16:17:09 +01:00
shell Remove excessive indenting of parameters on newlines 2018-11-06 10:57:17 +00:00
site Avoid usage of deprecated wfGetMainCache() function 2019-04-28 20:41:17 +01:00
skins
sparql
specialpage Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
specials Merge "ContribsPager: Fix slow queries" 2019-05-01 04:38:54 +00:00
Storage Alter two uses of hasOrMadeRecentMasterChanges() for consistency 2019-04-23 11:34:09 -07:00
tidy Remove references to Html5Depurate 2019-03-13 16:33:37 -05:00
title MWNamespace: Remove deprecated method ::canTalk() and test suit 2019-04-20 21:07:50 +01:00
upload Add missing empty lines between methods 2019-01-15 19:14:35 +00:00
user Convert WatchedItem and friends to UserIdentity 2019-05-05 14:35:52 +03:00
utils Better detection for old MS Office files 2019-01-23 09:23:17 +11:00
watcheditem Convert WatchedItem and friends to UserIdentity 2019-05-05 14:35:52 +03:00
ActorMigrationTest.php Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
AutoLoaderTest.php
AutopromoteTest.php
BlockTest.php Rename BlockRestriction -> BlockRestrictionStore and wire it up as a service 2019-04-16 21:55:15 -04:00
CategoryTest.php Avoid hitting DB in Category getters when they have the required info 2019-04-04 12:40:14 -07:00
CommentStoreCommentTest.php Fix CommentStoreComment RawMessage construction 2019-02-13 11:17:10 -05:00
CommentStoreTest.php Add missing use for IMaintainableDatabase 2019-02-20 20:57:18 +01:00
CommentStoreTest.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
ContentSecurityPolicyTest.php
DeprecatedGlobalTest.php
DerivativeRequestTest.php Fix IP handling in DerivativeRequest 2018-10-31 20:34:58 -07:00
DiffHistoryBlobTest.php Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
EditPageTest.php Add missing @covers to action related tests 2019-02-01 22:13:32 +01:00
ExportTest.php
ExtraParserTest.php During special page transclusion, save and restore context's WikiPage too 2018-10-19 22:19:52 +02:00
FauxRequestTest.php
FauxResponseTest.php Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
FormOptionsInitializationTest.php Use TestingAccessWrapper in FormOptionsInitializationTest 2019-01-29 21:33:42 -08:00
FormOptionsTest.php
GitInfoTest.php
HooksTest.php
HtmlTest.php Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
LicensesTest.php
LinkerTest.php Show confirmation prompt on rollback links 2019-03-21 10:13:22 +00:00
LinkFilterTest.php Use new externallinks.el_index_60 field 2018-11-12 22:33:18 +00:00
ListToggleTest.php
MagicWordFactoryTest.php MagicWordFactory: Follow-up on I5d2166f155e31900cb40c 2018-12-18 12:12:39 +01:00
MediaWikiServicesTest.php Remove CryptRand and related stuff 2019-04-11 18:20:09 +01:00
MediaWikiTest.php Add @coversNothing for left over tests and enable sniff 2019-02-02 21:53:40 -08:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php
MessageTest.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
MovePageTest.php Add missing @covers to action related tests 2019-02-01 22:13:32 +01:00
MultiHttpClientTest.php Revert "Convert MultiHttpClient to use Guzzle" 2019-03-06 09:53:32 +01:00
MWTimestampTest.php
OutputPageTest.php Merge "parser: Omit outputting newline after final line" 2019-03-19 14:37:16 +00:00
PagePropsTest.php
PathRouterTest.php
PrefixSearchTest.php
ReadOnlyModeTest.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
RevisionDbTestBase.php Move getPrevious/NextRevision logic out of Title 2019-05-05 21:08:46 +03:00
RevisionMcrDbTest.php Allow getRevisionText to function without the text table. 2018-10-17 10:54:39 -04:00
RevisionMcrReadNewDbTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
RevisionMcrWriteBothDbTest.php Remove usages of 'text' flag in revision-related getQueryInfo() calls 2019-04-16 15:23:14 -05:00
RevisionNoContentModelDbTest.php Remove usages of 'text' flag in revision-related getQueryInfo() calls 2019-04-16 15:23:14 -05:00
RevisionPreMcrDbTest.php Remove usages of 'text' flag in revision-related getQueryInfo() calls 2019-04-16 15:23:14 -05:00
RevisionTest.php Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Fix typo in tests/includes/SampleTest.php in core 2018-11-02 12:55:09 +00:00
SanitizerValidateEmailTest.php
ServiceWiringTest.php Sort MediaWikiServices and ServiceWiring alphabetically 2019-04-10 20:59:49 +10:00
SiteConfigurationTest.php
SiteStatsTest.php jobqueue: add GenericParameterJob and RunnableJob interface 2019-04-08 11:05:23 -07:00
StatusTest.php
TemplateCategoriesTest.php
TemplateParserTest.php
TestLogger.php
TestUser.php Password: replace equals() with verify() 2019-01-24 13:40:40 -08:00
TestUserRegistry.php
TimeAdjustTest.php
TitleArrayFromResultTest.php
TitleMethodsTest.php Title: Test the ->equals() method more thoughroughly 2019-03-21 16:54:58 -07:00
TitlePermissionTest.php Set global config for test to avoid failure 2019-04-14 14:31:23 +01:00
TitleTest.php Merge "New Title::castFromLinkTarget/TitleValue" 2019-04-15 22:13:38 +00:00
WebRequestTest.php
WikiMapTest.php Make WikiMap::isCurrentWikiDbDomain() more rigorous 2019-03-29 19:03:28 +00:00
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php
XmlTest.php ResourceLoader: Add support for packageFiles 2019-02-05 22:05:02 +00:00