Kunal Mehta
6e9b4f0e9c
Convert all array() syntax to []
...
Per wikitech-l consensus:
https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html
Notes:
* Disabled CallTimePassByReference due to false positives (T127163)
Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Arlo Breault
78c3f2f4b1
Tidy up tidy usage
...
* There's a branch path in the sanitizer that depends on $wgUseTidy,
which means the test output differs from on wiki.
* In general, we should set these variables to match the wiki behaviour
in tests.
* Exposes T92892, Sanitizer removes empty tags when tidy is disabled.
* Tweaked tests for T19663 to use an extension tag to show that
HTML5 tags with non-word characters make it through the parser
intact (before being ultimately sanitized).
Change-Id: I09c72fd739e11a8b757f37dc4c790758d782ad73
2015-03-16 16:33:50 -04:00
Siebrand Mazeland
ac63001d8e
Update formatting
...
1 of n.
Change-Id: I852729f08bbb0c5e39c2db44362ccdc7f59dcc08
2013-02-14 12:22:13 +01:00
Tim Landscheidt
f199ee31d4
Protect against Xdebug overloading var_dump().
...
This fixes bug #36452 .
Change-Id: I0fc65af8c561b23daa5301a00706acb5b3f619dc
2012-10-19 13:08:35 +00:00
Platonides
7ee01101b4
Change the name back to dumpHook (r96336). That makes obvious that the use of var_dump is intended.
2011-10-27 15:25:02 +00:00
Chad Horohoe
df19f6cdea
Merge ParserTestStaticParserHook into ParserTestParserHook since they practically do the same thing.
2011-09-06 14:46:58 +00:00
Platonides
e70beaa325
Follow up to r81829. Poison var_dump, so that debug statements like r81671 can be easily detected.
...
The three 'right' usages are
* includes/Import.php
* includes/api/ApiFormatDump.php
* tests/parser/parserTestsParserHook.php
2011-02-09 17:36:25 +00:00
Chad Horohoe
23f69f10ed
Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're not strictly maintenance scripts, and some people want to do a selective checkout that doesn't include the tests. There's still debate on whether we should include these in the release downloads, but we had a pretty firm consensus to move this.
2010-12-14 16:26:35 +00:00