wiki.techinc.nl/tests/phpunit/includes
C. Scott Ananian 8d031bcf87 Add ParserOptions::setCollapsibleSections()
This is a non-default option that will add a <div> wrapper around
section contents to allow client-side collapsing.  This is intended
for use by MobileFrontEnd, but could eventually be enabled for
desktop read views as well.

Since this parser option is in the "cache-varying options" set, any
caller who sets this option will fork the cache for that page, which
is reasonable as the parser options sets a ParserOutput property.
In the future our caching strategy will get smarter and we'll add
code which avoids the cache split and just transfers the appropriate
values from ParserOptions to ParserOutput flags after the cached
output is retrieved.

Bug: T359001
Change-Id: Ie93959a056ed15a728404eb293e4bb6eeaeb15c0
2024-04-29 12:11:09 -04:00
..
actions Config: Mark MainPageIsDomainRoot official 2024-03-13 15:23:37 +00:00
api Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
auth tests: More use statements in auth tests 2024-02-16 21:49:35 +00:00
block Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
cache Namespace includes/cache 2024-02-20 10:28:03 -05:00
Category tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
changes tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
changetags Add PHPUnit test for ChangeTagsList class 2024-02-23 16:05:45 +00:00
collation tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
CommentStore CommentStore: Remove unused getFields method 2024-01-20 16:21:39 +01:00
composer tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
config tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
content Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
db rdbms: Drop ILoadBalancer::getAnyOpenConnection() 2023-11-28 15:42:39 +01:00
debug tests: Add replacement for assertions deprecated in PHPUnit 9.6 2024-02-23 22:09:45 +01:00
deferred Merge "ParserOutput::setPageProperty(): Emit deprecation warning for non-scalar values" 2024-03-11 17:08:20 +00:00
diff Fix some spelling errors 2024-03-18 20:58:11 +11:00
editpage tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
exception tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
export Merge "[ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText()" 2024-02-21 17:11:00 +00:00
ExternalLinks build: Fix line indents 2024-03-11 00:14:16 +01:00
externalstore Drop old class_aliases for before MW 1.39 that were missed 2024-03-20 12:10:42 +00:00
filebackend filebackend: Retry Swift requests with new auth token on 401 2024-03-15 21:34:36 +00:00
filerepo Introduce entry point classes for media files. 2024-03-30 21:14:05 +01:00
GlobalFunctions
HookContainer tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
Html Html,Xml: Widen @covers tags 2024-03-30 21:48:32 +00:00
http tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
import tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
installer Namespace WebInstaller classes 2024-01-11 23:29:14 +00:00
interwiki tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
jobqueue tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
language Follow-up "ZhConverter: Fix language variant fallback chain" 2024-03-08 11:37:41 +08:00
languages tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
libs tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
linkeddata tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
linker Namespace includes/cache 2024-02-20 10:28:03 -05:00
logging Merge "tests: Don't depend on Message implementation details" 2024-04-04 20:25:43 +00:00
mail tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
media tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Message Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
Navigation
objectcache objectcache: Restore default keyspace for LocalServerCache service 2024-03-28 19:47:44 +01:00
Output build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0 2024-03-01 15:58:13 -05:00
OutputTransform Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
page parser: Remove explicit StatsdDataFactory backward-compat logic 2024-03-26 22:53:58 +00:00
pager Replace last remaining wfGetDB() calls in core, except ResourceLoader 2024-02-14 11:02:01 -05:00
ParamValidator/TypeDef tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
parser Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
password tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Permissions Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
poolcounter parser: Remove explicit StatsdDataFactory backward-compat logic 2024-03-26 22:53:58 +00:00
preferences SignatureValidator: Don't fail signature validation on hidden lints 2024-03-29 15:55:02 -04:00
profiler
rcfeed tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
registration tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Request WebRequest: detectServer appends default ports that should be omitted 2024-03-28 11:03:28 +00:00
ResourceLoader ResourceLoader: Add WikiModule regression test for T360014 2024-03-14 21:10:51 +00:00
Rest Merge "Rest: Turn Rest\EntryPoint into a MediaWikiEntryPoint subclass" 2024-03-12 14:25:41 +00:00
Revision Move away from DBAccessObjectUtils::getDBOptions in more places 2024-03-25 14:45:43 +01:00
search search: Exclude unlisted special pages from search completion 2024-03-26 17:52:33 -07:00
session objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
shell
site tests: Namespace Site classes 2024-02-17 00:50:52 +00:00
SiteStats tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
skins tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
sparql tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
specialpage Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
specials HTMLForm: Add regression test for T360717 2024-03-25 10:34:55 +11:00
Status message: Don't load user language when a specific language was requested 2024-03-04 12:03:38 +11:00
Storage REST: HTML endpoints should support all content models 2024-03-13 04:32:59 -05:00
title Merge "Namespace includes/cache" 2024-02-28 15:10:38 +00:00
upload Add getCacheKey static method to UploadFromUrl 2024-02-28 16:15:39 +01:00
user Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
utils tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
watcheditem Namespace includes/cache 2024-02-20 10:28:03 -05:00
WikiMap tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
xml Rename dropdown-related methods to avoid random camel-case 2024-03-09 02:31:33 +01:00
AutoLoaderTest.php tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
MediaWikiServicesTest.php tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
MockServiceWiring.php
SampleTest.php
TestUser.php Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
TestUserRegistry.php update a few tests to use PHP 7.4 syntax 2024-01-09 10:19:00 +02:00