mediawiki-extensions-Visual.../modules/ve/test
Catrope d73d6e9bf0 Add extension-specific types functionality to ModelRegistry
Extension-specific types are RDFa types (or type regexes) that are
registered with the ModelRegistry separately. If an element has a type
that is extension-specific, then that element can only be matched by a
rule that asserts one of its extension-specific types.

For MediaWiki, we would call
ve.dm.modelRegistry.registerExtensionSpecificType(/^mw:/ ) .
So then an element like <span typeof="mw:foobar"> would either match a
rule specifically for mw:foobar, if one exists, or no rule at all; even
the rule for <span> would not match. The consequence of this is that
elements with unrecognized mw:-prefixed RDFa types are alienated.

Change-Id: Ia8ab1fe5dffb9f813689324372a168e8e4a3e0bc
2013-01-22 18:12:35 -08:00
..
ce Convert node rules to static properties 2013-01-18 14:51:40 -08:00
dm Add extension-specific types functionality to ModelRegistry 2013-01-22 18:12:35 -08:00
init JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.php Move matching code from AnnotationFactory to ModelRegistry 2013-01-22 15:51:37 -08:00
ve.BranchNode.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Command.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Document.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.example.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Factory.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.LeafNode.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Node.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.qunit.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Range.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.test.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00