Board Thread:Code Review/@comment-25523075-20160330142213/@comment-6475116-20160330184153

Mostly. You can't just check Project:Sandbox due to the different structures of wikis. Also, I would change the conditional for the second statement to check if wgPageName is whatever and wgAction is edit.