mediawiki-extensions-Visual.../modules/ve-mw/ui/ve.ui.MWWikitextSequenceRegistry.js

22 lines
604 B
JavaScript
Raw Normal View History

/*!
* VisualEditor Wikitext sequence registry
*
* @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org
*/
/* Initialization */
ve.ui.wikitextSequenceRegistry = new ve.ui.SequenceRegistry();
/* Registrations */
// ve.ui.wikitextSequenceRegistry.register(
// new ve.ui.Sequence( 'wikitextLink', 'link', '[[', 2 )
// );
// ve.ui.sequenceRegistry.register(
// new ve.ui.Sequence( 'wikitextTemplate', 'transclusion', '{{', 2 )
// );
// ve.ui.sequenceRegistry.register(
// new ve.ui.Sequence( 'wikitextHeading', 'heading2', [ { type: 'paragraph' }, '=', '=' ], 2 )
// );