wiki.techinc.nl/tests/phpunit/includes
Tim Starling 09cd8eb080 MessageFormatterFactory
An injectable service interface for message formatting, somewhat
narrowed compared to Message.

Only the text format is implemented in this framework so far, with
getTextFormatter() returning a formatter that converts to the text
format. Other formatters could be added to MessageFormatterFactory.

Bug: T226598
Change-Id: Id053074c1dbcb692e8309fdca602f94a385bca0c
2019-08-28 12:28:05 +10:00
..
actions Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
api Revert "Make LocalisationCache a service" 2019-08-26 18:28:26 +02:00
auth Drop wgPasswordSalt, deprecated since 1.24 2019-07-21 12:25:25 -07:00
block Merge "Replace User::isAllowed with PermissionManager." 2019-08-21 08:00:33 +00:00
cache Revert "Make LocalisationCache a service" 2019-08-26 18:28:26 +02:00
changes Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
changetags ChangeTags: turn private getPrevTags() into public getTags() 2019-08-07 15:19:20 +02:00
collation Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
config Test that classes use all their ServiceOptions 2019-08-19 20:42:28 +03:00
content Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
context
db Revert "rdbms: make LoadBalancer::reallyOpenConnection() handle setting DBO_TRX" 2019-08-25 16:39:33 +00:00
debug Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
deferred deferred: make DeferredUpdates::attemptUpdate() use callback owners for $fnameTrxOwner 2019-08-03 05:48:02 +00:00
diff Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
editpage
exception Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
externalstore externalstore: unbreak writes to non-default storage clusters due to isReadOnly() 2019-07-16 22:08:00 -07:00
filebackend Some integration tests for LockManagerGroup 2019-08-22 16:34:34 +03:00
filerepo Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
GlobalFunctions BadFileLookup to replace wfIsBadImage 2019-08-21 20:45:37 +03:00
htmlform Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
http Split HttpTest and SessionTest to unit and integration 2019-07-13 21:01:09 +02:00
import Merge "Inline trivial object creation helpers in tests" 2019-06-11 20:55:44 +00:00
interwiki Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
jobqueue Various fixes and simplifications to RefreshLinksJob::runTitle() 2019-07-11 06:06:02 +00:00
language language: Move ConverterRule to includes/ and add test case 2019-08-26 12:32:14 +01:00
libs MessageFormatterFactory 2019-08-28 12:28:05 +10:00
linkeddata
linker objectcache: Hard deprecate ObjectCache::getMainWANInstance() 2019-07-09 09:29:57 +00:00
logging Revert "Make LocalisationCache a service" 2019-08-26 18:28:26 +02:00
mail
media Deprecate wrapper SVGMetadataExtractor::getMetadata 2019-07-26 12:07:54 -07:00
Message MessageFormatterFactory 2019-08-28 12:28:05 +10:00
Navigation Refactor buildPrevNextNavigation 2019-06-05 19:32:27 -04:00
objectcache Move unit tests, round III 2019-07-09 22:06:59 +02:00
page Increase maximum length of automatic deletion summaries 2019-08-22 00:42:59 +00:00
pager
parser parser: document what 0/null rev IDs do when given to Parser::parse 2019-08-21 11:13:49 -07:00
password Handle changed defaults in Argon2PasswordTest::testPartialConfig() 2019-08-16 14:44:29 -04:00
Permissions Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
poolcounter Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
preferences Test that classes use all their ServiceOptions 2019-08-19 20:42:28 +03:00
rcfeed Clear test user registry between tests 2019-08-14 10:27:21 +03:00
registration Move unit tests, round III 2019-07-09 22:06:59 +02:00
resourceloader resourceloader: Add coverage for internal Context::getReqBase() 2019-08-25 19:03:04 +01:00
Rest REST: call MediaWiki::preOutputCommit and doPostOutputShutdown 2019-08-26 14:19:43 +10:00
Revision Revert "rdbms: make LoadBalancer::reallyOpenConnection() handle setting DBO_TRX" 2019-08-25 16:39:33 +00:00
search Add SearchResultTrait 2019-08-20 18:24:44 +02:00
session objectcache: add MediumSpecificBagOStuff base class for non-proxy subclasses 2019-07-19 13:01:46 -07:00
shell Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
site Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
skins Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
sparql Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
specialpage RCFilters: add namespace filters for all contents and all discussions 2019-08-15 13:57:02 -04:00
specials Deprecate and replace usages of User:isAllowed{All,Any} 2019-08-21 18:36:16 -07:00
Storage Make NameTableStore use LoadBalancer::getConnectionRef() 2019-08-25 01:24:16 +00:00
title Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
upload Relax HTML sniffing checks on image upload 2019-06-07 14:21:00 -07:00
user Remove usages of deprecated User::getRights. 2019-08-20 19:43:54 -07:00
utils Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
watcheditem objectcache: Use variadic signature for makeKey() 2019-07-23 20:44:06 +02:00
ActorMigrationTest.php Inline trivial object creation helpers in tests 2019-05-28 16:12:28 +02:00
AutoLoaderTest.php
AutopromoteTest.php
CategoryTest.php
CommentStoreCommentTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
CommentStoreTest.php
CommentStoreTest.sql
ContentSecurityPolicyTest.php Isolate globals for ContentSecurityPolicy tests 2019-06-13 12:35:33 +02:00
DeprecatedGlobalTest.php
DiffHistoryBlobTest.php
EditPageTest.php EditPage: Migrate Title::userCan() calls to PermissionManager 2019-05-18 20:49:21 +02:00
ExportTest.php
ExtraParserTest.php
FauxRequestTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
GitInfoTest.php
HooksTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
HtmlTest.php Don't process "all" option in Html::namespaceSelectorOptions 2019-07-04 10:17:59 +02:00
LinkerTest.php Make userLink() not fail too hard on false and null. 2019-06-05 14:51:57 +02:00
LinkFilterTest.php
ListToggleTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MagicWordFactoryTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MediaWikiServicesTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php Unset all globals unneeded for unit tests, assert correct directory 2019-07-09 14:09:29 -04:00
MergeHistoryTest.php Don't use new MCR schema without using DB 2019-08-13 17:05:24 +03:00
MessageTest.php Convert MessageCache to service 2019-08-18 12:11:36 +03:00
MovePageTest.php Return better errors from MovePage::isValidMove() 2019-08-19 20:26:02 +03:00
MultiHttpClientTest.php
MWTimestampTest.php
OutputPageTest.php Deprecate skin functions that are not skin responsibilities 2019-08-23 13:21:11 +00:00
PagePropsTest.php
PrefixSearchTest.php
ReadOnlyModeTest.php
RevisionDbTestBase.php objectcache: reorganize WANObjectCache fields and avoid exposing internal constants 2019-07-20 16:04:08 -07:00
RevisionMcrDbTest.php
RevisionMcrReadNewDbTest.php
RevisionMcrWriteBothDbTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
RevisionNoContentModelDbTest.php
RevisionPreMcrDbTest.php
RevisionTest.php Make ExternalStore wrap ExternalStoreFactory and create access class 2019-06-28 14:31:44 -07:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Replace old URLs in SampleTest 2019-07-10 15:00:12 +01:00
SiteStatsTest.php
StatusTest.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
SystemBlockTest.php
TemplateCategoriesTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
TemplateParserTest.php
TestLogger.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
TestUser.php Drop last bits of oracle 2019-08-14 23:44:22 +02:00
TestUserRegistry.php
TimeAdjustTest.php
TitleMethodsTest.php Hard-deprecate Title::moveTo and friends 2019-05-28 11:52:36 -05:00
TitlePermissionTest.php title: Fix flaky TitlePermissionTest::testUserBlock 2019-08-25 16:04:19 +01:00
TitleTest.php Add a bunch of MovePage tests 2019-08-19 20:26:02 +03:00
WebRequestTest.php Rename CDN config variables to be generic, deprecating the old names 2019-05-24 21:09:22 +00:00
WikiMapTest.php Removed deprecated WikiMap::getWikiIdFromDomain() method 2019-07-14 01:17:31 +01:00
XmlTest.php