wiki.techinc.nl/tests/phpunit/includes
daniel 465954aa23 Provide new, unsaved revision to PST to fix magic words.
This injects the new, unsaved RevisionRecord object into the Parser used
for Pre-Save Transform, and sets the user and timestamp on that revision,
to allow {{subst:REVISIONUSER}} and {{subst:REVISIONTIMESTAMP}} to function.

Bug: T203583
Change-Id: I31a97d0168ac22346b2dad6b88bf7f6f8a0dd9d0
2018-09-06 18:33:44 +02:00
..
actions Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
api Avoid constructing Title objects in data providers 2018-09-03 16:36:49 +00:00
auth Clean up AuthManagerTest a bit 2018-08-06 19:15:36 +03:00
cache Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags Introduce NameTableStoreFactory 2018-09-04 15:08:38 +10:00
collation Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals 2018-06-04 16:20:13 +00:00
composer tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
config tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
content [MCR] Render multi-slot diffs 2018-08-20 15:39:12 +02:00
context
db rdbms: add more comments and sanity checks for CONN_TRX_AUTOCOMMIT 2018-08-09 01:39:07 +00:00
debug Add helper trait for deprecating properties 2018-07-18 15:15:46 +02:00
deferred rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle() 2018-05-09 21:07:06 +00:00
diff Avoid constructing Title objects in data providers 2018-09-03 16:36:49 +00:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Disallow empty paths in LockManager 2018-07-26 11:02:43 -07:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions Fix wfDebug() test so that it works with overridden SPI 2018-08-31 15:02:38 +10:00
htmlform thiemowmde's legal name changed 2018-07-24 06:07:38 +00:00
http Replace HTTP by HTTPS 2018-05-22 12:14:14 +02:00
import build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Merge "Hard deprecate Interwiki static methods" 2018-06-09 09:33:09 +00:00
jobqueue Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs Support nested arrays in StaticArrayWriter 2018-08-27 22:23:02 +00:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker Improve LinkRenderer::getLinkText() coverage 2018-06-13 01:30:04 -07:00
logging Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media SVG: Allow , as separator in viewBox attribute value 2018-08-11 00:16:43 +02:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page [MCR] Move getSecondaryDataUpdates to the page level 2018-09-04 21:50:58 +02:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Provide new, unsaved revision to PST to fix magic words. 2018-09-06 18:33:44 +02:00
password Merge "password: Move commonpasswords.cdb to includes/password/" 2018-08-14 23:53:19 +00:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration registration: Add ability to check if a specific extension version is loaded 2018-09-03 14:37:33 -07:00
resourceloader resourceloader: Use 'enableModuleContentVersion' for startup module 2018-08-31 00:23:23 +00:00
Revision Make HTML generation in RenderedRevision optional 2018-08-31 10:48:41 +00:00
search Reset services before every test 2018-09-03 16:38:58 +00:00
services [MCR] Allow extensions to manipulate service instances 2018-06-15 16:06:38 +02:00
session Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
shell Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
site Replace wfGetLB 2018-05-02 22:30:24 +02:00
skins skins: Move default style modules to getDefaultModules 2018-05-04 23:52:02 +00:00
sparql tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
specialpage Make SpecialPageFactory a service 2018-08-17 11:12:23 -07:00
specials SpecialPageExecutor: Use finally now that we're in a PHP 5.5+ world 2018-09-03 22:10:55 -07:00
Storage Provide new, unsaved revision to PST to fix magic words. 2018-09-06 18:33:44 +02:00
tidy RemexCompatMunger: Don't call endTag() in case B/b 2018-08-07 14:07:31 +10:00
title TitleFormatter: Implement fbc1449653 and unify prefix logic 2018-08-17 17:43:52 -07:00
upload tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
user Fix common typos in code 2018-09-02 09:03:07 +00:00
utils Have ClassCollector ignore PHP 7 anonymous classes 2018-05-01 13:13:37 -04:00
watcheditem Use constants for rc_patrolled values instead of numbers 2018-04-13 23:56:35 +02:00
ActorMigrationTest.php Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02:00
AutoLoaderTest.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
CommentStoreTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ContentSecurityPolicyTest.php CSP: In tests, use setMwGlobals() instead of manual set+undo 2018-08-19 01:43:52 +01:00
DeprecatedGlobalTest.php
DiffHistoryBlobTest.php
EditPageTest.php Fix typos 2018-08-14 09:52:19 +00:00
ExportTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ExtraParserTest.php MagicWordFactory to replace MagicWord static members/methods 2018-07-30 21:20:43 +03:00
FauxRequestTest.php tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php Allow tests to run with a non-writable source tree 2018-08-30 10:48:50 +10:00
HooksTest.php Complete test coverage of Hooks class 2018-05-26 23:38:28 -07:00
HtmlTest.php Html: Reject </script> from inlineScript() and leave rest unescaped 2018-08-30 00:10:35 +01:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Remove deprecated Linker::getLinkColour() 2018-06-13 01:30:04 -07:00
LinkFilterTest.php
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php Don't require a list of services in tests 2018-08-10 04:28:31 +00:00
MediaWikiTest.php Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
MediaWikiVersionFetcherTest.php Improve MediaWikiVersionFetcherTest 2018-08-10 11:26:57 +03:00
MergeHistoryTest.php MergeHistory: Fix flaky test due to relative timestamp 2018-08-15 02:16:02 +01:00
MessageTest.php Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
MovePageTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
MultiHttpClientTest.php Added non-parallel fallback to MultiHttpClient when curl is unavailable 2018-07-23 00:19:59 +00:00
MWNamespaceTest.php MWNamespace: Add getCategoryLinkType() method 2018-06-29 15:37:11 +00:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php resourceloader: Remove unused static SkinModule::getLogo method 2018-08-28 23:50:50 +01:00
PagePropsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
PathRouterTest.php Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
ReadOnlyModeTest.php
RevisionDbTestBase.php Avoid constructing Title objects in data providers 2018-09-03 16:36:49 +00:00
RevisionMcrDbTest.php MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
RevisionMcrReadNewDbTest.php Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02:00
RevisionMcrWriteBothDbTest.php [MCR] RevisionStore, enable insertions for new schema 2018-06-14 13:36:08 +00:00
RevisionNoContentModelDbTest.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
RevisionPreMcrDbTest.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
RevisionTest.php Use consistent caching strategy in Revision storage classes 2018-07-05 17:44:24 +02:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
ServiceWiringTest.php Alphabetize service lists 2018-08-09 22:19:58 -06:00
SiteConfigurationTest.php SiteConfiguration: Add test to confirm null as valid override 2018-04-24 18:31:30 +01:00
SiteStatsTest.php phpunit: Clear job queues in MediaWikiTestCase::setUp() 2018-04-24 00:46:19 +01:00
StatusTest.php RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php TemplateParser: Pass FLAG_MUSTACHELOOKUP to enable parent context access 2018-09-04 12:39:34 -07:00
TestLogger.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TestUser.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
TestUserRegistry.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
TimeAdjustTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
TitlePermissionTest.php title: Disable the failing tests from TitlePermissionTest 2018-08-16 13:05:09 +00:00
TitleTest.php Title: Fix isRawHtmlMessage() for messages with underscores 2018-08-31 09:45:01 -07:00
WebRequestTest.php WebRequest: Fix flaky testGetElapsedTime test case 2018-07-16 20:23:30 -07:00
WikiMapTest.php
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php
XmlTest.php Xml.php: Do not escape double quotes in $contents of Xml::element() 2018-05-23 20:03:54 +00:00