GWicke has uploaded a new change for review. https://gerrit.wikimedia.org/r/60852
Change subject: Allow equal chars in wikilink targets ...................................................................... Allow equal chars in wikilink targets This fixes link parsing and -roundtripping on [[ja:岩波版聖書]]. Simple test case: [[Special:Booksources/isbn=4-00-026157-6]] Change-Id: I6b87013fccec2ff1d524f853684f5f4c1d8d5a17 --- M js/lib/pegTokenizer.pegjs.txt 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/52/60852/1 diff --git a/js/lib/pegTokenizer.pegjs.txt b/js/lib/pegTokenizer.pegjs.txt index c9bd101..5b297d6 100644 --- a/js/lib/pegTokenizer.pegjs.txt +++ b/js/lib/pegTokenizer.pegjs.txt @@ -2350,7 +2350,8 @@ wikilink_preprocessor_text = r:( t:[^<~[{\n\r\t|!\]}{ &=]+ { return t.join(''); } - / !inline_breaks ( directive / !"]]" ( text_char / [!] ) ) + // XXX gwicke: any more chars we need to allow here? + / !inline_breaks ( directive / !"]]" ( text_char / [!=] ) ) )+ { return flatten_stringlist ( r ); } -- To view, visit https://gerrit.wikimedia.org/r/60852 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6b87013fccec2ff1d524f853684f5f4c1d8d5a17 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: GWicke <gwi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits