Remove "only newlines in trailer" special case for category/language links
authorC. Scott Ananian <cscott@cscott.net>
Sat, 9 Sep 2017 03:44:42 +0000 (23:44 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Sat, 9 Sep 2017 03:44:42 +0000 (23:44 -0400)
commit5676481c6d7e06693bc925c18fb652adbd5e36b5
tree4defa0d538221e9e1508b4e478234422f061e976
parent6d5fd8077fdbb5d4861395a187fd402cd4da405f
Remove "only newlines in trailer" special case for category/language links

This special case complicates wikitext semantics and ought to be
unnecessary.  Parsoid doesn't include this special case; if this patch
to the PHP parser isn't merged, we should write one for Parsoid to
implement the missing special case logic.

Bug: T175416
Change-Id: I3865c51b21de9d63ac5d06dcc3a3fa9108129d6c
includes/parser/Parser.php
tests/parser/parserTests.txt