User:Quiddity/Problems with punctuation in links

Continued from T28556, T40265, T13056, Village_pump_(idea_lab)/Archive 14 and http://quarry.wmflabs.org/query/252


 * These ones break in Thunderbird email (and most onwiki):
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox.
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox,
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox;
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox:
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox?
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox!
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox]
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox>
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox}    <--- These last 2 break in Thunderbird, but not onwiki.
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox-
 * https://commons.wikimedia.org/w/index.php?title=Special:Search&limit=20&offset=0&search=Shop+windows&advancedSearch-current={}&ns0=1&ns6=1&ns12=1&ns14=1&ns100=1&ns106=1    <--- This one breaks in Thunderbird at the "{}"


 * These all work properly
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox
 * (https://en.wikipedia.org/wiki/User:Quiddity/sandbox)
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox)
 * (https://en.wikipedia.org/wiki/User:Quiddity/(sandbox)    <--- This one used to break in Thunderbird, but is now ok.
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox$
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox@
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox#
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox–
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox—
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox−
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox§
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox|
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox&
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox*
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox(
 * https://en.wikipedia.org/wiki/User:Quiddity/sandbox…