Board Thread:Lua Help/@comment-166269-20150217184425/@comment-11733175-20150220011609

Yes, lua is installed globally but I don't get the feeling it's used very much. There's not a lot of wikis with users familiar with code, even RuneScape Wiki (my home wiki) where there's dozens of coders there's only 4-5 of us who engage in developing a module. I suspect this is why dev wiki was nominated as the lua home wiki, as it's already the source of a number of widely used scripts.

I did indeed mean server-side doc support. Whilst categories do sort of work in modules at the moment, it's not something I'd ever recommend doing, and it's not something any js implementation could reproduce. It's relatively simple to do too (this is just off the top of my head): if ( wgCanonicalNamespaceName == 'Module' && wgTitle.indexOf( '/doc' ) > -1 ) { ( new mw.Api ) .get( {           // params for calling action=parse go here            // you're just looking to get the current page's /doc subpage        } ) .done( function ( data ) {           // add error handling here in case it doesn't exist

// it won't actually be data, probably data.parse.something $( '#mw-content-text' ).prepend( data ); } ); }