mediawiki-extensions-Visual.../modules/ve
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
..
actions Merge "Fixes for typos and some missing documentation" 2013-01-18 21:05:13 +00:00
ce Fixed documentation errors 2013-01-22 23:38:01 +00:00
dm Add extension-specific types functionality to ModelRegistry 2013-01-22 18:12:35 -08:00
init Fixed documentation errors 2013-01-22 23:38:01 +00:00
styles Cleaned up paste target and surface styles 2013-01-17 15:02:47 -08:00
test Add extension-specific types functionality to ModelRegistry 2013-01-22 18:12:35 -08:00
ui Fixed documentation errors 2013-01-22 23:38:01 +00:00
ve.Action.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.ActionFactory.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.AnnotationSet.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.BranchNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Command.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.CommandRegistry.js Add interplatform, i18n shortcuts to ui buttons. 2013-01-17 15:28:32 -08:00
ve.debug.js JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00
ve.Document.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.EventEmitter.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Factory.js (bug 43841) Major ve.ui rewrite, especially ve.ui.LinkInspector 2013-01-15 15:05:11 -08:00
ve.js Add wrapper for Array.prototype.filter 2013-01-22 15:55:11 -08:00
ve.LeafNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Node.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.OrderedHashSet.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Range.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.Registry.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.Surface.js Fixes for typos and some missing documentation 2013-01-17 15:47:34 -08:00
ve.TriggerRegistry.js Add interplatform, i18n shortcuts to ui buttons. 2013-01-17 15:28:32 -08:00