Dear Teammates,
I have a template which uses parameters, for example {{{2}}} for it's second argument, which is a url. Some url's are similar to this with a query string: http://myserver.com/index.aspx?com=85&id=20.
I figured out that "=" was messing up the template code, so I substituted it's hex equivalent "%3D" for both of the equal signs. Some target servers can parse this, and some can not, thus creating a problem for the users.
Is there any other way to handle this in the template, so that I would not have to substitute "%3D" in the url for the "=" sign ?
Thank you, Lori
I figured out that "=" was messing up the template code, so I substituted it's hex equivalent "%3D" for both of the equal signs. Some target servers can parse this, and some can not, thus creating a problem for the users.
To my knowledge this interpretation is incorrect: it is the task of the web browser to convert %3D back to appropriate symbols, and a correct URL would reach the server either way. May I ask you for an example?
Use |2= directly in your template.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
On 2015-03-02 2:09 PM, Rowe, Dolores A wrote:
Dear Teammates,
I have a template which uses parameters, for example {{{2}}} for it's second argument, which is a url. Some url's are similar to this with a query string: http://myserver.com/index.aspx?com=85&id=20.
I figured out that "=" was messing up the template code, so I substituted it's hex equivalent "%3D" for both of the equal signs. Some target servers can parse this, and some can not, thus creating a problem for the users.
Is there any other way to handle this in the template, so that I would not have to substitute "%3D" in the url for the "=" sign ?
Thank you, Lori
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org