wiki.techinc.nl/tests/phpunit/includes
C. Scott Ananian 045ec0a408 Deprecate Parser implementation methods (will be private in next release)
The following public methods were renamed and made private; the old name
is hard-deprecated and calls the new renamed private method:

Parser::doMagicLinks() => handleMagicLinks()
Parser::doDoubleUnderscore() => handleMagicLinks()
Parser::doHeadings() => handleHeadings()
Parser::doAllQuotes() => handleAllQuotes()
Parser::replaceExternalLinks() => handleExternalLinks()
Parser::replaceInternalLinks() => handleInternalLinks()
Parser::replaceInternalLinks2() => handleInternalLinks2()
Parser::getVariableValue() => expandMagicVariable()
Parser::initialiseVariables() => initializeVariables()
Parser::formatHeadings() => finalizeHeadings()
Parser::test{Pst,Preprocess,Srvus}() => fuzzTest{Pst,Preprocess,Srvus}()

Additionally, the following methods are not used externally, but are
used outside the Parser class by core code.  They have been marked
@internal:

Parser::doQuotes() (used by {{#displaytitle}}),
Parser::getExternalLink{Rel,Attribs}() (used by Linker),
Parser::normalizeLinkUrl() (used by Special:LinkSearch and elsewhere).
Parser::{brace,arg,extension}Substitution() (used by PPFrame)

Code search query:
https://codesearch.wmflabs.org/deployed/?q=do%28MagicLinks%7CDoubleUnderscore%7CHeadings%7CAllQuotes%29%7Creplace%28ExternalLinks%7CInternalLinks%28%7C2%29%29%7CgetVariableValue%7CinitialiseVariables%7CformatHeadings%7Ctest%28Pst%7CPreprocess%7CSrvus%29%7CdoQuotes%7CgetExternalLink%28Rel%7CAttribs%29%7CnormalizeLinkUrl%7C%28brace%2Carg%2Cextension%29Substitution&i=nope&files=&repos=

Bug: T236810
Change-Id: I19a43ffc5dcfdd2981b51079c33422c964acb076
2019-10-29 14:00:29 -04:00
..
actions Mild refactoring of ContentSecurityPolicy 2019-10-28 09:02:14 -07:00
api Merge "LanguageFactory to replace Language::factory()" 2019-10-28 15:03:22 +00:00
auth Mention requiring email address in password reset emails 2019-10-23 13:38:17 -07:00
block Add tests to ensure that block cookies are kept and removed correctly 2019-10-23 14:47:37 +00:00
cache Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
changes tests: getMock() is deprecated 2019-10-22 14:20:25 -07:00
changetags Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
collation Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
config Follow-up Ifa346c8a92: LanguageNameUtils: CONSTRUCTOR_OTPIONS, not constructorOptions 2019-10-10 17:01:49 -07:00
content phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
context tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00
db phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
debug Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
deferred Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
diff Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
editpage Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
exception phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
externalstore phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
filebackend Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
filerepo Hard-deprecate Title::getUserCaseDBKey 2019-10-24 19:26:37 +03:00
GlobalFunctions tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
htmlform phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
http Merge "tests: Prefer PHPUnit's assertSame() when comparing empty strings" 2019-09-20 15:55:08 +00:00
import Include change tags in revision import structure 2019-09-03 21:14:16 +02:00
interwiki Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
jobqueue Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
language New LanguageFallback service 2019-10-08 15:11:39 -07:00
libs Merge "libs/Message: Add DataMessageValue" 2019-10-23 13:35:31 +00:00
linkeddata linkeddata: Simplity PageDataRequestHandler test setup 2019-04-01 14:20:19 +00:00
linker Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
logging LanguageFactory to replace Language::factory() 2019-10-23 10:48:23 -07:00
mail
media Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
Message TextFormatterTest: Use mocks instead of manually creating classes 2019-10-08 21:32:25 +00:00
Navigation Refactor buildPrevNextNavigation 2019-06-05 19:32:27 -04:00
objectcache Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
page Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
pager tests: Replace PHPUnit's loose assertEquals(null) with assertNull() 2019-09-27 19:15:38 +00:00
parser Deprecate Parser implementation methods (will be private in next release) 2019-10-29 14:00:29 -04:00
password Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
Permissions Stop accessing User::mBlock and User::mBlockedby from tests 2019-10-15 15:05:53 +00:00
poolcounter Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
preferences Services: Convert DefaultPreferencesFactory's static to a const now HHVM is gone 2019-10-08 11:28:15 -07:00
rcfeed Clear test user registry between tests 2019-08-14 10:27:21 +03:00
registration Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
resourceloader resourceloader: Support passing extra arguments to packageFiles callback 2019-10-21 15:07:53 -04:00
Rest Use UserIdentity instead of User in REST 2019-09-18 14:45:01 +10:00
Revision Move countRevisionsBetween from Title to RevisionStore 2019-10-17 08:02:26 -07:00
search Merge "Add faux SearchResult and SearchResultSet" 2019-10-21 09:37:50 +00:00
session Merge "session: Add debug message for the used store class" 2019-10-17 11:05:23 +00:00
shell tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00
site Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
skins Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
sparql Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
specialpage Stop accessing User::mBlock and User::mBlockedby from tests 2019-10-15 15:05:53 +00:00
specials Revert "Revert "Store block reasons as CommentStoreComments in block classes"" 2019-10-20 10:41:17 +01:00
Storage SqlBlobStore HOT FIX: remove caching from getBlobBatch 2019-10-16 23:02:52 +00:00
title Merge "Title: make newFromText, isValid, and canExist behave consistently." 2019-10-08 13:54:57 +00:00
upload Relax HTML sniffing checks on image upload 2019-06-07 14:21:00 -07:00
user Email only users with require username and email option off when only email given 2019-10-24 15:08:16 -07:00
utils Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
watcheditem Merge "Kill the remaining usages of PHPUnit4And6Compat methods" 2019-10-06 10:47:37 +00:00
ActorMigrationTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
ActorMigrationTest.sql Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
AutoLoaderTest.php
AutopromoteTest.php Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00: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 Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
CommentStoreTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php Allow extensions to modify CSP header on a per-page basis 2019-10-28 09:02:18 -07:00
DeprecatedGlobalTest.php Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
DiffHistoryBlobTest.php
EditPageTest.php Begin cleaning up PHPUnit 4 code from tests 2019-10-04 14:19:05 -07:00
ExportTest.php
ExtraParserTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
FauxRequestTest.php Begin cleaning up PHPUnit 4 code from tests 2019-10-04 14:19:05 -07:00
GitInfoTest.php tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
HooksTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
HtmlTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
LinkerTest.php Merge "Linker: Kill HHVM and PHP5 special case" 2019-10-07 20:57:22 +00:00
LinkFilterTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
ListToggleTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MagicWordFactoryTest.php Begin cleaning up PHPUnit 4 code from tests 2019-10-04 14:19:05 -07:00
MediaWikiServicesTest.php tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +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 Try fixing flaky test 2019-10-23 14:51:53 -04:00
MovePageTest.php tests: getMock() is deprecated 2019-10-22 14:20:25 -07:00
MultiHttpClientTest.php
MWTimestampTest.php
OutputPageTest.php Mild refactoring of ContentSecurityPolicy 2019-10-28 09:02:14 -07:00
PagePropsTest.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
PrefixSearchTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ReadOnlyModeTest.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
RevisionDbTestBase.php Remove extra param comment and enable phpcs rule 2019-10-11 21:36:25 +02:00
RevisionMcrDbTest.php
RevisionMcrReadNewDbTest.php
RevisionMcrWriteBothDbTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
RevisionTest.php Hard deprecate Revision::getRevisionText() method 2019-10-07 11:31:20 -07:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
SiteStatsTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
StatusTest.php Make Status::wrap and StatusValue::splitByErrorType work together 2019-10-07 13:36:15 +02:00
SystemBlockTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
TemplateCategoriesTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
TemplateParserTest.php Kill the remaining usages of PHPUnit4And6Compat methods 2019-10-06 10:12:54 +00:00
TestLocalisationCache.php Make LocalisationCache a service 2019-10-07 13:18:47 -07:00
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 Remove extra param comment and enable phpcs rule 2019-10-11 21:36:25 +02:00
TimeAdjustTest.php
TitleMethodsTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
TitlePermissionTest.php tests: Replace PHPUnit's loose assertEquals(false) with assertFalse() 2019-10-04 00:30:36 +00:00
TitleTest.php tests: getMock() is deprecated 2019-10-22 14:20:25 -07:00
WebRequestTest.php phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07:00
WikiMapTest.php Removed deprecated WikiMap::getWikiIdFromDomain() method 2019-07-14 01:17:31 +01:00
WikiReferenceTest.php phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
XmlTest.php Clean up most of b/c for phpunit4 2019-10-06 00:14:35 +02:00