Linker: more consistent whitespace parsing in formatLinksInComment
authorThiemo Kreuz (WMDE) <thiemo.kreuz@wikimedia.de>
Tue, 26 Jun 2018 09:55:21 +0000 (09:55 +0000)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 6 Sep 2018 17:19:32 +0000 (17:19 +0000)
commit2c58fbaa29671ec33a879f2bb3724068529c47ff
tree2f3a1cc33fa6f1c5defcdb75de6794aea09fb6a1
parentd37ff6b1df2e0af7c4b671486de25b91e64d390e
Linker: more consistent whitespace parsing in formatLinksInComment

Try to paste and preview this in the wikitext as well as the summary
line: [[:a]] [[ :a]]

The wikitext will show "a a", but the summary line will show "a :a".
This is only a display issue, all 4 links correctly link to the
article [[A]].

Change-Id: I08253a6d0b55b9aa3eace519bbdc1a456400bf84
includes/Linker.php
tests/phpunit/includes/LinkerTest.php