Last modified: 2013-12-03 14:23:07 UTC
The contents of a page in the Module: namespace are wrapped in a <pre> tag with the classes `lua source-lua`. That <pre> tag should also have the class `mw-code` so it can take advantage of any CSS rules applied to system-generated <pre> tags, such as the one I've proposed in bug 57824.
Scribunto does use mw-code when generating <pre> tags itself. When using SyntaxHighlight_GeSHi, the <pre> is generated by that extension and Scribunto has no control over it.
Makes sense. But there is still a bug to be fixed, only it's in SyntaxHighlight GeSHi rather than Scribunto.
Why not for .js and .css pages too? No reason at all to limit this to just Scribunto modules.