HG-332 Fix links being returned when they should not
Merge pull request #5360 from Wikia/HG-332

HG-332 Fix links being returned when they should not