Page MenuHomePhabricator

<Syntaxhighlight> can't use template parameters
Closed, DeclinedPublic

Description

There seems to be no way to include arguments to <syntaxhighlight> in a template. If {{{1}}} is used, that's what it returns. Is there a way to allow a template parameter to be transcluded before <syntaxhighlight> processes the enclosed value?

Event Timeline

Aklapper changed the task status from Open to Stalled.Oct 19 2020, 8:45 AM

Hi @Rfc1394, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide

  • a clear and complete list of exact steps to reproduce the situation, step by step, so that nobody needs to guess or interpret how you performed each step,
  • what happens after performing these steps to reproduce,
  • what you expected to happen instead and why.

You can edit the task description by clicking Edit Task. Ideally, a good description should allow any other person to follow these steps (without having to interpret steps) and see the same results. Problems that others can reproduce can get fixed faster. Thanks again!

Unfortunately closing this Phabricator task as no further information has been provided.

@Rfc1394: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!

@Rfc1394 #tag may allow you to do whatever you're trying to.