https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #8 from FelixReimann <[email protected]> --- Another example: The module under test behaves differently depending on the namespace: if mw.title.getCurrentTitle().nsText == 'Module' then mw.log('found Module namespace') else mw.log('found another namespace') end Now, in the debug console, you want to trigger the else case and see the corresponding log message. This branch would be active whenever this module is used (transcluded) in a namespace other than Module: The same holds for the Wikidata example: You what to debug the module as if it is transcluded, together with the context of a specifiable article. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
