Board Thread:Lua Help/@comment-1466854-20140922214311/@comment-11733175-20140930231956

@Becer I'll try and flesh it out a bit when I get a chance, but essentially you'd just paste that in your wiki's common.js. Ideally it's be another script you'd import like AjaxRC.

Don't copy the second code snippet though as it will cause an error due to using return outside of a function.