--On Thursday, April 02, 2009 8:22 AM +0200 Jean-Marc van Leerdam j.m.van.leerdam@gmail.com wrote:
It's the {{urlencode: }} that strips the leading and trailing spaces, according to the mediawiki help at meta [1].
Thanks for researching that. I guess I could go look at the source for that and see what the reasoning for the stripping is. Perhaps it will hint at an alternate solution, or perhaps a variant of urlencode that doesn't strip.