wiki.techinc.nl/tests/phpunit/includes
Kevin Israel 1efdda25ee FormatJson: Make it possible to change the indent string
This is to allow consistency with MediaWiki PHP and JS files (e.g. when
generating JSON i18n files), not because tabs are "better" than spaces for
indenting code (both have advantages and disadvantages).

Because PHP's json_encode() function hardcodes the indent string, using tabs
has a performance cost (in post-processing the output) and is less suitable
for web output; thus the API and ResourceLoader debug mode will continue to
use four spaces. Adjusting the maintenance scripts and JSON files is left to
separate change sets.

Bug: 63444
Change-Id: Ic915c50b0acd2e236940b70d5dd48ea87954c9d5
2014-04-16 10:00:10 -04:00
..
api Removed unneeded spaces and colons in @param and friends 2014-04-08 16:02:49 +00:00
cache Moved ProcessCacheLRU to /libs 2014-03-16 16:32:34 -07:00
changes Fix CodeSniffer errors and warnings in changes tests 2014-03-12 18:08:59 +01:00
composer Fixed spacing 2014-03-20 20:37:30 +00:00
config Config: Add Config and GlobalConfig classes 2014-01-27 21:10:30 -08:00
content Fix "@param null $param" documentations 2014-04-09 12:33:55 +02:00
db Avoid interacting with LBFactory singleton in tests 2014-01-02 14:27:19 +01:00
debug Fixed spacing 2013-11-21 18:52:25 +00:00
diff Fixed spacing 2014-03-20 20:37:30 +00:00
exception Set ThrottledError's response code to 429 2014-03-28 12:25:59 +02:00
filebackend Fixed wrong usage of $tmpFile in Swift backend 2014-01-15 13:05:01 -08:00
filerepo filebackend: cleaned up the FileBackend constructor 2013-12-03 13:57:01 -08:00
GlobalFunctions Removed unneeded spaces and colons in @param and friends 2014-04-08 16:02:49 +00:00
htmlform Cleanup HTMLCheckMatrixTest. 2014-01-06 14:30:46 +01:00
installer Changing URLs of mediawiki.org in scripts to the SSL-based website 2014-03-12 23:24:03 +00:00
jobqueue Removed useless JobQueue return values 2014-04-02 17:56:05 -07:00
json FormatJson: Make it possible to change the indent string 2014-04-16 10:00:10 -04:00
libs Merge "Moved ProcessCacheLRU to /libs" 2014-03-18 17:22:34 +00:00
logging Call Language::getLocalisationCache() static 2014-01-04 21:33:12 +01:00
media Use /usr/bin/ as default folder for DjVu tools in unit tests 2014-03-25 09:18:32 +01:00
normal Change URLs to mediawiki.org in comments to HTTPS 2014-03-20 16:59:46 +00:00
objectcache Remove unused stuff from tests 2014-03-07 21:16:32 +00:00
parser Update set of files cleaned up after parserTests 2014-03-25 14:41:23 -04:00
resourceloader tests: Add unit tests for ResourceLoaderStartupModule 2014-03-07 20:15:35 +01:00
search Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
site Fixed spacing 2014-03-20 20:37:30 +00:00
specials Moved $wgQueryPages stuff out of the global scope and into a function 2014-03-18 08:36:32 -07:00
title Revert "Temporarily remove tests added in I8eef5a165" 2014-04-06 13:18:07 +00:00
upload Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
utils Delete UIDGenerator cache files after unit tests 2014-04-02 23:58:28 +00:00
ArrayUtilsTest.php Create and move some functions for class ArrayUtils 2014-01-23 22:13:22 +00:00
ArticleTablesTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
ArticleTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
BlockTest.php Remove methods in Block deprecated in 1.18 2014-01-11 20:32:24 +01:00
CollationTest.php Replace a bunch of extension_loaded() checks with checkPHPExtension() 2014-01-23 23:09:53 +00:00
DiffHistoryBlobTest.php Replace a bunch of extension_loaded() checks with checkPHPExtension() 2014-01-23 23:09:53 +00:00
EditPageTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
ExternalStoreTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
ExtraParserTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
FallbackTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
FauxRequestTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FauxResponseTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsInitializationTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsTest.php FormOptions: Implement FLOAT type 2013-11-07 23:50:59 +01:00
HooksTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
HtmlFormatterTest.php assertValidHtml for checking html in test cases. 2014-01-17 12:42:35 +01:00
HtmlTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
HttpTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
LanguageConverterTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
LicensesTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
LinkerTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
LinkFilterTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
LinksUpdateTest.php Fix incorrect @covers tags in LinksUpdateTest 2014-02-27 20:10:59 +01:00
LocalFileTest.php filebackend: cleaned up the FileBackend constructor 2013-12-03 13:57:01 -08:00
LocalisationCacheTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
MediaWikiVersionFetcherTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
MessageTest.php Changing a message's lang must reset cached text. 2014-04-16 12:17:47 +02:00
MWFunctionTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWNamespaceTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWTimestampTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
OutputPageTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
PathRouterTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
PreferencesTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
RequestContextTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
RevisionStorageTest.php Remove unused stuff from tests 2014-03-07 21:16:32 +00:00
RevisionStorageTest_ContentHandlerUseDB.php Fixed spacing 2013-11-21 18:52:25 +00:00
RevisionTest.php Fix "@param null $param" documentations 2014-04-09 12:33:55 +02:00
SampleTest.php Cleanup SampleTest.php 2014-03-07 20:58:10 +01:00
SanitizerTest.php Merge "Put the HTML attribute whitelist closer to HTML5" 2013-11-02 14:07:07 +00:00
SanitizerValidateEmailTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
SiteConfigurationTest.php Put callback function within class in SiteConfigurationTest 2014-01-27 11:32:10 +01:00
SkinTemplateTest.php Add title to list item of language link 2014-03-03 20:06:36 +01:00
SpecialPageTest.php Don't assume test user has ID 1 in SpecialPageTest 2013-12-06 13:48:22 +01:00
StatusTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
TemplateCategoriesTest.php Add a RefreshLinks job when a template is deleted 2013-11-06 12:56:53 -05:00
TestUser.php Improve TestUser group handling 2014-01-04 19:58:25 +00:00
TimeAdjustTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
TitleArrayFromResultTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
TitleMethodsTest.php Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
TitlePermissionTest.php Use lowercase key words 2013-11-23 15:56:42 +01:00
TitleTest.php Revert "Temporarily remove tests added in I8eef5a165" 2014-04-06 13:18:07 +00:00
UserArrayFromResultTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
UserMailerTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
UserTest.php Refactor password validity checking 2014-03-15 06:30:25 +00:00
WebRequestTest.php Support CIDR ranges in $wgSquidServersNoPurge 2013-11-07 13:14:23 -07:00
WikiPageTest.php Remove unused stuff from tests 2014-03-07 21:16:32 +00:00
WikiPageTest_ContentHandlerUseDB.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
XmlJsTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
XmlSelectTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
XmlTest.php Remove unused stuff from tests 2014-03-07 21:16:32 +00:00
XmlTypeCheckTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00