Page MenuHomePhabricator

Inputbox seems to behave differently when used via {{#tag:inputbox}} instead of <inputbox>
Closed, InvalidPublic

Description

Inputboxes can be added both via <inputbox>[params]</inputbox> or via {{#tag:inputbox|parameters}}.

<inputbox>
type = comment
hidden = yes
buttonlabel = FooBar
</inputbox>

and:

{{#tag:inputbox | type = comment | hidden = yes | buttonlabel = FooBar}}

should both render the same output, but when using the later, the hidden attribute as well as the buttonlabel one seems to be ignored.

You can see a comparison at https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=3646185

Event Timeline

MarcoAurelio renamed this task from Inputbox different behaviour when used via {{#tag:inputbox}} instead of <inputbox> to Inputbox seems to behave differently when used via {{#tag:inputbox}} instead of <inputbox>.Feb 1 2020, 2:07 PM

Sorry, I just realised there's an excess of pipes in the {{#tag:}} code I used.