wiki.techinc.nl/tests/phpunit/includes
Func fbe6443942 Apply logo variant override in ResourceLoaderSkinModule
Logo variant override is available for 'wordmark' and 'tagline' in
the new Vector skin and has been used for a while, but the 'logo'
feature built in the core didn't take variants into account.
The logic should be pushed down to ResourceLoaderSkinModule so that
behavior can be consistent between skins and core.

Also, old code use $title->getPageViewLanguage() to determine the
variant of logo, which is a wrong behavior. Logos should be in the
interface language instead of the content variant.

Bug: T273578
Change-Id: Ifb3cc45600d57cf9c72757016148684cd7ab1400
2022-03-28 13:22:07 +08:00
..
actions Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
api ApiParse: Ignore 'contentformat' param when the query is based on page 2022-03-20 20:33:20 +08:00
auth Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
block Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
cache tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changes tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changetags Handle null in ChangeTags::modifyDisplayQuery 2022-03-04 11:12:14 +01:00
collation phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
config Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
content phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
context context: Add a cached RequestContext::getActionName method 2022-03-25 12:12:48 +00:00
db rdbms: rename wasKnownStatementRollbackError() to isKnownStatementRollbackError() 2022-03-22 22:59:09 +00:00
debug tests: Replace some usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 12:55:25 +00:00
deferred LinksTable: Cast all array keys to string 2022-02-14 15:56:34 +11:00
diff Merge "diff: Fix small issues and compact syntax in DifferenceEngine" 2022-02-04 15:09:28 +00:00
editpage editpage: Replace usage of Title in TextboxBuilder::class 2021-09-20 10:24:00 +01:00
exception Use HTTP 404 for BadTitleErrors instead of HTTP 400 2022-02-27 00:08:58 -08:00
externalstore Remove unneeded uses of MediaWikiCoversValidator 2021-05-22 01:43:29 +00:00
filebackend Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
filerepo Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
GlobalFunctions Tests: expected value goes first in PHPUnit assertions 2022-03-04 18:48:06 +00:00
HookContainer phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
htmlform Merge "HTMLForm: Add test for CSRF token check" 2022-02-21 16:19:03 +00:00
http tests: Use ::class in assertInstanceOf function 2022-01-16 21:17:09 +01:00
import phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
installer Installer: Do not use mediawiki.skinning.interface module 2021-04-15 11:11:32 -07:00
interwiki Optimise Skin::getLanguages() 2022-02-08 22:34:15 +00:00
jobqueue RefreshLinksJob: assert proper title 2022-02-09 20:39:08 +01:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
languages phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
libs Improve ObjectCache integration tests 2022-02-11 10:20:33 +11:00
linkeddata build: Updating dependencies 2021-07-22 03:36:05 +00:00
linker linker: Start of LinkTargetStore 2022-03-02 14:56:30 +00:00
logging phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
mail phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
media phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
Message Add Message/MessageValue user group member parameter type 2021-11-16 11:24:35 -05:00
Navigation
objectcache Improve ObjectCache integration tests 2022-02-11 10:20:33 +11:00
page Fix uses of (error|warning|success)box in core 2022-03-20 21:15:26 +00:00
pager changetags: Fix management of a '0' tag 2022-03-03 22:24:01 +00:00
ParamValidator/TypeDef Remove or replace usages of "sanity" 2021-11-21 19:35:49 +00:00
parser parser: change 'level' in parse api back to string 2022-03-18 19:52:24 +01:00
password Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
Permissions phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
poolcounter phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
preferences Allow the user to set a default number of search results 2022-02-20 22:09:47 +11:00
rcfeed rcfeed: Deprecate $wgRCEngines and RCFeedEngine 2022-03-08 19:50:19 +00:00
registration Integration test for extension registration 2022-03-11 21:43:41 +00:00
resourceloader Apply logo variant override in ResourceLoaderSkinModule 2022-03-28 13:22:07 +08:00
Rest Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
Revision Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
search phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
session tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
shell Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
site phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
skins Merge "skins: Increase SkinFactory test coverage, improve various class docs" 2022-03-01 19:50:51 +00:00
sparql sparql: Replace deprecated Http::userAgent() in SparqlClient 2021-08-04 13:54:13 +00:00
specialpage phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
specials Merge "Allow the user to set a default number of search results" 2022-03-09 20:13:45 +00:00
Storage Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
title mediawiki.Title: Treat U+FFFD (replacement character) as invalid 2022-03-27 20:53:42 +00:00
upload Allow managing upload-by-url allowlist as a system message 2022-03-23 11:11:41 +02:00
user Use UserRigorOptions directly 2022-03-25 10:06:34 +11:00
utils Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
watcheditem WatchedItemStoreIntegrationTest: Call setMwGlobals without $ on name 2022-03-17 19:28:08 +01:00
ActorMigrationTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ActorMigrationTest.sql Schema migration for revison_actor_temp table removal 2021-07-14 08:29:04 +10:00
AutoLoaderTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
CategoryTest.php Add getMemberCount() to Category to supersede getPageCount() 2022-01-31 13:59:34 +01:00
CommentStoreCommentTest.php
CommentStoreTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
EditPageConstraintsTest.php Remove or replace usages of "sanity" 2021-11-21 19:35:49 +00:00
EditPageTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
ExportTest.php Suppress deprecation warnings from libxml_disable_entity_loader() 2022-01-21 14:03:12 +11:00
ExtraParserTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
FauxRequestTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
GitInfoTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
HooksTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
HtmlTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
LinkerTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
LinkFilterTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
MagicWordFactoryTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
MediaWikiServicesTest.php
MediaWikiTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
MessageTest.php Only apply transformations for &uselang=qqx when actually using it 2022-03-08 01:50:44 +00:00
MockServiceWiring.php
MovePageTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
MultiHttpClientTest.php Fix deprecation warning from CURLPIPE_HTTP1 2022-01-25 14:35:41 +11:00
MWTimestampTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
OutputPageTest.php Apply logo variant override in ResourceLoaderSkinModule 2022-03-28 13:22:07 +08:00
PagePropsTest.php Hard deprecate PageProps::getInstance() 2022-03-15 22:58:48 +01:00
SampleTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
SiteStatsTest.php Replace deprecated JobQueueGroup::singleton() 2022-01-27 21:37:50 +01:00
StatusTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
TemplateCategoriesTest.php tests: Make sure deferred updates are done and re-enable TemplateCategoriesTest 2022-03-17 13:01:08 +00:00
TestUser.php Create new UserGroupManager::addUserToMultipleGroups method 2021-08-30 10:24:46 -04:00
TestUserRegistry.php
TimeAdjustTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
TitleTest.php title: Restore boolean false Title::getTouched() for nonexistent page 2022-03-09 14:56:23 +00:00
TitleUrlTest.php Introduce TitleUrlTests 2021-09-08 07:48:45 +00:00
TrackingCategoriesTest.php Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
WebRequestTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
WikiMapTest.php Replace usages of deprecated wfWikiID() 2021-12-21 02:05:55 +00:00
XmlTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00