[Mediawiki-l] Leading or trailing spaces in template parameters
Kenneth Porter
shiva at sewingwitch.com
Tue Mar 31 17:49:19 UTC 2009
I want to pass an argument to a template that contains a leading and
trailing space. It looks like the template parser is stripping these before
evaluating the parameter. Is there a way to prevent that?
Here's an example page:
<http://www.wowwiki.com/Guild:M_A_%28Bleeding_Hollow_US%29>
I want to pass " M A " to the Guildbox template's name parameter. It will
get expanded into a string to render in an off-site URL. Currently it gets
rendered as "M+A", not "+M+A+", so the URL doesn't connect to the desired
page.
More information about the MediaWiki-l
mailing list