wiki.techinc.nl/tests/phpunit/includes
Timo Tijhof df010dd284 resourceloader: Remove redundant 'window' indirection
Use global variables directly as globals, except for the specific
case of accessing it when it may not exist. In those cases we
use the fact that undefined properties of an object yield the
`undefined` value which we can cast to false. Accessing an undefined
variable would yield a ReferenceError exception.

Change-Id: I1d9e9aa5845ba3c756ad6e31358d8594e003b04b
2019-05-08 21:24:30 +00:00
..
actions
api Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05: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 tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00: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 Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
exception
externalstore
filebackend tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
filerepo Make RepoGroup a service instead of singleton 2019-05-06 13:57:40 +03:00
GlobalFunctions tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
htmlform Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
http Deprecate the Http class 2019-05-06 12:07:26 +03: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 tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
json Finish FormatJson::encode() test coverage 2019-02-02 22:04:35 -08:00
libs tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
linkeddata linkeddata: Simplity PageDataRequestHandler test setup 2019-04-01 14:20:19 +00:00
linker Update LinkRenderer to use NamespaceInfo 2019-05-07 14:52:17 +02: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 Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
poolcounter Get rid of unnecessary func_get_args() and friends 2019-04-12 20:17:01 +00:00
preferences Update DefaultPreferencesFactory to use NamespaceInfo 2019-05-06 12:19:13 +03:00
rcfeed
registration registration: Allow to require environment abilities 2019-04-13 08:14:44 -07:00
resourceloader resourceloader: Remove redundant 'window' indirection 2019-05-08 21:24:30 +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
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 Move Title::getSubject/Talk/OtherPage to NamespaceInfo 2019-05-06 08:29:28 -07:00
upload
user Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
utils
watcheditem Convert WatchedItem and friends to LinkTarget 2019-05-06 15:30:45 +00:00
ActorMigrationTest.php Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
AutoLoaderTest.php
AutopromoteTest.php
BlockTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05: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 Make RepoGroup a service instead of singleton 2019-05-06 13:57:40 +03:00
DeprecatedGlobalTest.php
DerivativeRequestTest.php
DiffHistoryBlobTest.php Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
EditPageTest.php
ExportTest.php
ExtraParserTest.php
FauxRequestTest.php
FauxResponseTest.php Remove comments literally documenting unit tests being unit tests 2019-02-19 15:18:12 +01:00
FormOptionsInitializationTest.php
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 Log warning and show error on empty username 2019-05-06 14:44:23 -05:00
LinkFilterTest.php
ListToggleTest.php
MagicWordFactoryTest.php
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
MultiHttpClientTest.php Revert "Convert MultiHttpClient to use Guzzle" 2019-03-06 09:53:32 +01:00
MWTimestampTest.php
OutputPageTest.php resourceloader: Remove redundant 'window' indirection 2019-05-08 21:24:30 +00:00
PagePropsTest.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
PathRouterTest.php
PrefixSearchTest.php
ReadOnlyModeTest.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
RevisionDbTestBase.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
RevisionMcrDbTest.php
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
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
SystemBlockTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
TemplateCategoriesTest.php
TemplateParserTest.php
TestLogger.php
TestUser.php
TestUserRegistry.php tests: Remove use of wfRandomString() for test fixtures 2019-05-06 17:22:03 +00:00
TimeAdjustTest.php
TitleArrayFromResultTest.php
TitleMethodsTest.php Title: Test the ->equals() method more thoughroughly 2019-03-21 16:54:58 -07:00
TitlePermissionTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
TitleTest.php Move Title::getSubject/Talk/OtherPage to NamespaceInfo 2019-05-06 08:29:28 -07: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