Topic on Extension talk:Semantic MediaWiki

Wikicode generated by a LUA module

2
193.56.33.6 (talkcontribs)

Hello,


-I want to generate a part of my Wikicode in a template through a LUA module.


-I call so my LUA function which is in a template, the argument is a parameter of that template.

My module works fine by itself since it generates the right Wikicode i want when i call the template.

The module is supposed to add "|?{{{parameter}}}={{{parameter2}}}" to my #Ask request in my template.


-The issue is that this part of the Wikicode isn't interpreted at all.

The #Ask request works, but not the module part in it. However, if i add the module part of the code by hand, it works.

So here is my guess, LUA's generated code isn't reinterpreted inside a Wiki page.


-If anyone had a clue on how to fix this issue, which is not a bug since it's probably a wanted feature, i would be glad to hear it.


-Here are my spec :


MW : 1.36.3


PHP : 7.4.27


LUA : 5.1.5


SMW 3.2.3


Page Forms : 5.3.4


Thanks for your reading and for your upcoming answers.

Have a great day !

Cavila (talkcontribs)
Reply to "Wikicode generated by a LUA module"