Topic on Extension talk:CodeEditor

CodeEditor on lua subpages

2
Beyond doubt (talkcontribs)

CodeEditor supports lua on pages in the "Module" namespace.

however, many times you'd like to test your module on a subpage of your user page before publishing it, like you often do with templates and articles. The Extension TemplateSandbox already support testing modules with names from the form "User:myusername/Module:modulename", but when you try to edit a page in that name, you have to do it with the regular wiki editor.

That problem does not exist with js and css pages because they are being identified by their extension, not their namespace.

I think that code editor should be available in modules that are subpages of a user page.

I have also opened a ticket in https://phabricator.wikimedia.org/T217508

Thanks.

Beyond doubt (talkcontribs)

I have suggested a code change in scribunto extension in the foregoing phabricator ticket.

It worked to me, I believe it should enter to the extension code.

Reply to "CodeEditor on lua subpages"