mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
c452e134cc
Edit wikitext with the VE interace. Bug: T104479 Bug: T142138 Change-Id: Ic95b47e0dd378578555c4a2342ca9c87064ed1d5
22 lines
604 B
JavaScript
22 lines
604 B
JavaScript
/*!
|
|
* 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 )
|
|
// );
|