lucamauri added a comment.
In T289564#7304947 <https://phabricator.wikimedia.org/T289564#7304947>, @matej_suchanek wrote: > Your custom code is exactly the "workaround". Still, the explanation is principally correct, it simply says that if you //return// `{{…}}` from a module, it won't be expanded. But when you call `frame:expandTemplate`, you expand it yourself and don't return any `{{…}}` anymore. (There is an even easier and more evil way, using `frame:preprocess`.) Thanks. The explanation on the manual was a little misleading, at least to me, and it was my understanding that, at the time of the function return, template expansion was not possible any longer //at all//. I see now that the meaning was different. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Lucas_Werkmeister_WMDE, matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org