Make userLink() not fail too hard on false and null.
authordaniel <dkinzler@wikimedia.org>
Wed, 22 May 2019 20:12:11 +0000 (22:12 +0200)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 5 Jun 2019 12:51:57 +0000 (14:51 +0200)
commite9e50ad014e64113f0f7ba1f36fe7cc823959da9
treea1145294042ec16812650859ebd1a0a97c628b3b
parent546770cef3882485fd6072836ad73b826bf35496
Make userLink() not fail too hard on false and null.

This works around an issue in Flow, which sometimes passes false
for a user name.

Bug: T224095
Change-Id: I14dc52f7199012dc35605f3170b06eb1719165a7
includes/Linker.php
tests/phpunit/includes/LinkerTest.php