I've pushed a patch that should hopefully fix the problem (moves just link url & text to params; link can be constructed in message text then)
https://gerrit.wikimedia.org/r/#/c/112958/