mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
c801099c7b
For extension-specific types such as mw: , we require that all types be matched. But we want MWTemplateNode to match anything with an mw:Object/Template type, even if it also has other types (like mw:WikiLink/Category in our test case). Hack this into MWTemplate by matching on /^mw:/ then using a matchFunction to assert that mw:Object/Template is in the typeof attribute. Update the test case. Because it's now a template, there's a bunch of store stuff involved. Remove the other test case for about group forcing because it's now a duplicate of this one. Change-Id: Iacbe952a66d610c19b46bd76b84c50488857ac29 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
example.png | ||
index.php | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.Factory.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.Trigger.test.js |