Content deleted Content added
→Module redirect: clarify |
→Module redirect: invoke results in a table |
||
Line 6:
{{to|Dekimasu}} probably should have just asked you if you know if this works at all as a true module redirect. Not questioning that redirects cannot be left behind during a module move; however, I do wonder if a redirect like this one could be ''manually'' left behind rather than adjusting all the templates and modules where a moved module was invoked? '''''[[User:Paine Ellsworth|<span style="font-size:95%;color:darkblue;font-family:Segoe Script">Paine Ellsworth</span>]]'''''<small>, ed. [[User talk:Paine Ellsworth|<sup>put'r there</sup>]] </small> <small>18:06, 21 March 2019 (UTC)</small>
:No, it is technically not possible to redirect to a module. When a module is invoked, the module is executed with the result being a table that the caller can use in any way that works. What is possible is for someone to check how a particular module works at the moment and put some very small code at the "redirect" page which executes the target module and returns its table. However, that is different from #REDIRECT. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 23:44, 21 March 2019 (UTC)
|