[arch-releng] {{Article summary text}} template on mediawiki

Dieter Plaetinck dieter at plaetinck.be
Fri Aug 7 12:55:23 EDT 2009


On Fri, 7 Aug 2009 12:41:23 +0200
Henning Garus <henning.garus at googlemail.com> wrote:

> On Fri, Aug 7, 2009 at 12:14 PM, Henning
> Garus<henning.garus at googlemail.com> wrote:
> >> By compressing the text and removing some links I can usually make it work, but of course it would be nice to have the links.
> >> And I'm not sure what exactly causes this problem.
> >> Does anyone know any inherent limitations of the {{Article summary text}} template or other things i should be aware of?
> >> even if i check that the links are in wiki format and don't span multiple lines it doesn't work...
> >
> > It seems the wiki does not like the ? in the git url... Looking at
> > ways to work around that now. Alternatively maybe just link to
> > projects.archlinux.org ?
> >
> 
> Actually I was wrong, but close, its the "=". I did not expect to find
> a solution this fast, the Mediawiki documentation is better than I
> remembered.
> 
> >From http://en.wikipedia.org/wiki/Help:Template#Restrictions_on_parameters_and_parameter_values
> :
> 
> > Unnamed parameters cannot be assigned a value containing an equals sign (=); the parser will treat the equals sign as the assignment of a named parameter.
> 
> The page describes several workarounds, I think the most sensible is
> prepending the parameter with "1=" , ie replace " {{Article summary
> text| " with  " {{Article summary text| 1=" .

Thanks mate. this works like a charm.
I've committed this fix with you as author.
http://projects.archlinux.org/?p=aif.git;a=commitdiff;h=e3356452586b0d526f06d661d445c5abf06bb0aa;hp=cf3760102d7f2e1f5c3b0494838dafad8c081d6c

Dieter


More information about the arch-releng mailing list