wiki.techinc.nl/tests
Brad Jorsch 75a85b412c API: Use U+001F (Unit Separator) for separating multi-valued parameters
When a multi-valued parameter's value begins with U+001F, the values
will be split on that character instead of pipes. This will be useful
for things such as action=options&change= or meta=allmessages&amargs=.
Since MediaWiki doesn't otherwise accept C0 control characters
(WebRequest::getVal() replaces them with �), there's no possibility that
this will conflict with a literal use of U+001F.

Special:ApiSandbox and mw.Api are updated to make use of this, with the
latter having an option to disable the behavior in case something is
depending on [ 'foo', 'bar|baz' ] turning into 'foo|bar|baz'.

Pipe is still used as the separator when the value doesn't begin with
U+001F, and will be forever since it's generally more human-friendly and
is needed for backwards compatibility with basically every API client in
existence. The requirement that the value begin with U+001F, rather than
simply contain U+001F, is to avoid clients having to somehow
special-case "param=foo|bar" where that's intended to be a single value
"foo|bar" rather than two values "foo" and "bar".

Bug: T141960
Change-Id: I45f69997667b48887a2b67e93906364a652ace5a
2016-08-29 11:00:25 -04:00
..
browser Browser tests: update to mw-selenium 1.7.2 and https 2016-08-15 13:43:48 -06:00
parser Merge "Sync up with Parsoid parserTests." 2016-08-24 17:14:35 +00:00
phpunit API: Use U+001F (Unit Separator) for separating multi-valued parameters 2016-08-29 11:00:25 -04:00
qunit API: Use U+001F (Unit Separator) for separating multi-valued parameters 2016-08-29 11:00:25 -04:00
.gitignore
.htaccess
parserTests.php Rewrite TidySupport and add option --use-tidy-config 2016-07-12 14:25:03 -07:00
testHelpers.inc Rewrite TidySupport and add option --use-tidy-config 2016-07-12 14:25:03 -07:00
TestsAutoLoader.php resourceloader: Improve coverage in ResourceLoaderTest.php 2016-08-24 18:56:20 -07:00