On Friday 16 January 2009 18:10:40 Sascha 'saigkill' Manns wrote: Hi,
On Freitag 16 Januar 2009 16:12:04 Frank Sundermeyer wrote:
On Thursday 15 January 2009 19:32:32 Sascha 'saigkill' Manns wrote: it's not the "?" but rather the "=" that causes the problem. Just URl encode it and you'll be fine: http://news.opensuse.org/?p%3d1101
I had tried this out. If i place ?p%3d1101 the Wiki says: ?p=1147. That's fine. But if i klick on the Link, it goes to: news.opensuse.org/ ?p%3d1147.
strange, but true. I would have thought that this is supposed to work. Nevertheless, I think I finally found the correct solution. The problem with "=" in template values is the following: You have to call a template with named parameters {{{foo}}} and {{{bar}}} with {{templatename|foo=value1|bar=value2}} A template with parameters {{{1}}} and {{{2}}} can be called as in the example above: {{templatename|1=value1|2=value2}} or, shorter {{templatename|value1|value2}} This, of course, implies that any "=" characters in a template value are interpreted as a name value pair delimiter. The solution is to use the long name value pair notation mentioned above when a value contains an "=" sign: ----------------------------------------- ==Feedback / Communicate / Get Involved== {{Sablon:PointHere|[[Image:OWN-tango-FCG.png|48px]]|2=See http://news.opensuse.org/?p=1101}} ----------------------------------------- Another solution would be to create a template (named e.g. Equal) just containing "=", and use it this way ... http://news.opensuse.org/?p{{Equal}}1101 ... Hope this works. Also see http://meta.wikimedia.org/wiki/Help:Template for _all_ the details on MediaWiki Templates (unfortunately you have to read the complicated parts at least 10 times before you understand - well, at least I have to ;-) ). -- Regards Frank Frank Sundermeyer, Technical Writer, Documentation SUSE Linux Products GmbH, Maxfeldstr. 5, D-90409 Nuremberg Tel: +49-911-74053-0, Fax: +49-911-7417755; http://www.opensuse.org/ SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "Reality is always controlled by the people who are most insane" Dogbert -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org