r109259 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109258‎ | r109259 | r109260 >
Date:00:23, 18 January 2012
Author:gwicke
Status:deferred
Tags:
Comment:
Eat '[[[' as plain text token, makes it 212 passing.
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt
@@ -539,6 +539,8 @@
540540 = //& { dp('inline_element enter' + input.substr(pos, 10)); return true; }
541541 & '<' ( comment / xmlish_tag )
542542 / & '{' ( & '{{{{{' template / tplarg / template )
 543+ // Eat three opening brackets as text.
 544+ / '[[[' { return { type: 'TEXT', value: '[[[' } }
543545 / & '[' ( wikilink / extlink )
544546 / & "'" quote
545547

Status & tagging log