User blog comment:Kirkburn/Syntax highlighting - helping you read and write code/@comment-24473195-20150311093048/@comment-24473195-20150311181859

I noticed something else. I can no longer debug the lua functions in a module using the debug console. Before I could simply type the code below in the code-editor textarea (aka ace_content) :

local p ={} function p.main mw.log('aaa') end

return p

Then I could simply debug the module by writing the code in console:

p.main

Now it gives me this error.

Lua error in console input at line 5: attempt to index local 'p' (a nil value).

You can see that [here]

Proof: It still works on [stargate wikia]