Problem with the genesis widget $remappable=no

The remappable parameter is not documented, Although I found it in an example, but not in all examples.

I was cleaning up my custom widget definitions here Overriding links with captions - #6 by TW_Tones and removed this parameter and had to edit the html file to fix. It seemed to result in infinite transclusions.

Any clues or guidance I / we can update the documentation, or see if we can protect it from this failure eg check the default is correct.

Bump,

I will try to raise an Git hub issue soon, but want to drawa the attention of the team, this is a bug I believe importiant for 5.3.2 but at least we need to update the documentation.

Hi @TW_Tones I’ve updated the docs for the genesis widget.

The reason you’re seeing an infinite loop without it is that you’re trying to create an instance of the original widget within a custom widget that overrides it. Without $remappable="no" the genesis widget will try to create an instance of the custom widget. Using remappable forces the genesis widget to ignore any overrides.

1 Like