These 2 codes give a syntax error when the parser works on "local x":
local bug1 = --[=[ abc xyz --]=] local x = "bug1" local bug2 = --[=[ [[link]] --]=] local x = "bug2"
Even tried in the first lines of the Lua module.
Since which Mediawiki version? Unknown. Rical never used that before.