mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-11 23:46:07 +00:00
Fix: handling of array
In I94887f6ccb45072180a318776ae96aead8658a18 the array environment was missed. Add the array environment in the same as matrix was added. Bug: T380184 Change-Id: I92111829e7e93bc5abd40e01b6c036bbc01ee8a5
This commit is contained in:
parent
4014491c39
commit
cfe15c59b1
|
@ -329,8 +329,8 @@ class AMSMappings {
|
||||||
"Bmatrix" => [ 'array', null, '\\{', '\\}', 'c' ],
|
"Bmatrix" => [ 'array', null, '\\{', '\\}', 'c' ],
|
||||||
"vmatrix" => [ 'array', null, '\\vert', '\\vert', 'c' ],
|
"vmatrix" => [ 'array', null, '\\vert', '\\vert', 'c' ],
|
||||||
"Vmatrix" => [ 'array', null, '\\Vert', '\\Vert', 'c' ],
|
"Vmatrix" => [ 'array', null, '\\Vert', '\\Vert', 'c' ],
|
||||||
'cases' => [ 'matrix', '{', '', 'left left', null, '.1em', null,
|
'cases' => [ 'matrix', '{', '', 'left left', null, '.1em', null, true ],
|
||||||
true ],
|
'array' => [ 'matrix' ]
|
||||||
];
|
];
|
||||||
private const AMSSYMBOLDELIMITERS = [
|
private const AMSSYMBOLDELIMITERS = [
|
||||||
'ulcorner' => '\u231C',
|
'ulcorner' => '\u231C',
|
||||||
|
|
|
@ -45,7 +45,7 @@ final class MMLFullCoverageTest extends MediaWikiUnitTestCase {
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private static $GENERATEDEVALFILE = __DIR__ . "/MMLFullCoverageEval.json";
|
private static $GENERATEDEVALFILE = __DIR__ . "/MMLFullCoverageEval.json";
|
||||||
/** @var int[] */
|
/** @var int[] */
|
||||||
private static $SKIPPEDINDICES = [ 174, 175, 180 ];
|
private static $SKIPPEDINDICES = [];
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
private static $FILTERMML = true;
|
private static $FILTERMML = true;
|
||||||
|
|
Loading…
Reference in a new issue