[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mediawiki-l
Subject:    Re: [MediaWiki-l] Template Question
From:       John <phoenixoverride () gmail ! com>
Date:       2015-03-10 0:49:57
Message-ID: CAP-JHp=hH24bEZ-T_Ro7Z8FdALoyBELHVc1dZt_hgVKB0Zibdw () mail ! gmail ! com
[Download RAW message or body]

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 <jan@ecoreality.org> wrote:

> > From: "Rowe, Dolores A" <dolores.a.rowe@boeing.com>
> >
> > 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…&id .
> >
> > 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 "&#061;" 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic