git-remote-mediawiki: move a variable declaration at the top of the code