[Mediawiki-l] Escaping highlighting tags

David Doria daviddoria at gmail.com
Thu Nov 4 00:01:29 UTC 2010


I don't understand where to put that {{#tag:syntaxhighlight|{{{1}}} }} ? I
tried replacing a {{{1}}} with it, but it is just displayed as the {{{1}}}
was before:
http://www.vtk.org/Wiki/Template:VTKCMakeLists

Thanks,

David


On Wed, Nov 3, 2010 at 5:13 PM, Platonides <Platonides at gmail.com> wrote:

> David Doria wrote:
> > Hi Daniel,
> >
> > My system admin installed the latest version of GeSHi so I can now
> replace
> > my <source> tags with <syntaxhighlight> tags. However, I'm having the
> same
> > problem:
> >
> > Here is the template: http://www.vtk.org/Wiki/Template:VTKCMakeLists
> > <http://www.vtk.org/Wiki/Template:VTKCMakeLists>And the attempted usage:
> > http://www.vtk.org/Wiki/VTK/Sandbox
> >
> > <http://www.vtk.org/Wiki/VTK/Sandbox>Any ideas why the template {{{1}}}
> does
> > not get replaced, but rather is just displayed as {{{1}}}?
> >
> > Thanks,
> >
> > David
>
> Because it is a function tag instead of a parser function.
> {{#tag:syntaxhighlight|{{{1}}} }} would do it, but I'm not sure if
> lang="cmake" can be provided that way.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list