Topic on Extension talk:CodeEditor

How to enable Lua syntax checks?

8
Xxmarijnw (talkcontribs)

On mediawiki.org, invalid Lua code is highlighted using a red squiggle. This does not seem to be enabled by default, and I can't figure out how to enable it on my wiki. How do I enable syntax checks for Lua code?

Sokote zaman (talkcontribs)
Xxmarijnw (talkcontribs)

That is not helpful. I obviously have Scribunto installed and working, but I do not get any syntax checks. Entering invalid Lua code reports no errors in the CodeEditor window.

Sokote zaman (talkcontribs)

Installing lua alone is not enough. You must also configure its engine. Both methods come in the Extension installation guide

Xxmarijnw (talkcontribs)

My Scribunto installation works, and I have configured LuaSandbox. Invoking modules works fine, but error reporting in the CodeEditor does not.

Sokote zaman (talkcontribs)

Can you find a page called Scribunto Can you create a page called Module:HelloWorld?

Xxmarijnw (talkcontribs)

I have already made and used a number of modules. They work fine.

Sokote zaman (talkcontribs)
Reply to "How to enable Lua syntax checks?"