Re: [MediaWiki-l] Template Question

2015-03-09 Thread John
if you name the param and use the = to define it {{template|url = website}}
you will also bypass this issue without having to do special encoding

On Mon, Mar 9, 2015 at 8:46 PM, Jan Steinman  wrote:

> > From: "Rowe, Dolores A" 
> >
> > 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.
>
> Use character entities instead. (
> http://www.lmgtfy.com/q=character+entity+reference)
>
> For "=", use "=" instead of the hex code.
>
> At least, it seems to work for me.
>
>  Single age structure is a weakness in ecosystem persistence. -- David
> Holmgren
>  Jan Steinman, EcoReality Co-op 
>
>
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Template Question

2015-03-09 Thread Jan Steinman
> From: "Rowe, Dolores A" 
> 
> 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.

Use character entities instead. 
(http://www.lmgtfy.com/q=character+entity+reference)

For "=", use "=" instead of the hex code.

At least, it seems to work for me.

 Single age structure is a weakness in ecosystem persistence. -- David 
Holmgren
 Jan Steinman, EcoReality Co-op 


___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Template Question

2015-03-02 Thread Daniel Friesen
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 mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Template Question

2015-03-02 Thread svetlana
> 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?

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Template Question

2015-03-02 Thread Rowe, Dolores A
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