move mediawiki version arg to output file structure (prelude to writing
multiple output files with different versions in the same pass)

Change-Id: I941d0773d340f8fdda70d42a66b0edcd8484830b