r106285 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106284‎ | r106285 | r106286 >
Date:00:12, 15 December 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Minor tweak to wiki link production
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt
@@ -709,8 +709,10 @@
710710 wikilink
711711 = "[["
712712 ! url
713 - target:link_target ltext:("|" lt:link_text { return lt })* "]]"
714 - suffix:(![ \]] text_char)* {
 713+ target:link_target
 714+ ltext:( "|" lt:link_text { return lt } )*
 715+ "]]"
 716+ suffix:(![ \]] tc:text_char { return tc })* {
715717 var obj = {
716718 type: 'TAG',
717719 name: 'a',

Status & tagging log