InlineQueryLinkBug

Description
When reaching the display limit and having defined a "mainlabel", inline queries produce links to further results on Special:Ask with an erroneously added printout of the result page (as " ").

E.g., " " produces a link to Special:Ask equivalent to " ".

Examples
Compare the source code of the following inline queries with the automatically produced links to Special:Ask ("... more results" or "show list").