mediawiki module - lint fixes

fix some lint warnings such as:

WARNING: selector inside resource block
WARNING: unquoted file mode
WARNING: ensure found on line but it's not the first attribute

Change-Id: I06cb0afd6fc037f837d12ef53f9226fd4db6e11b
Merge "mediawiki module - lint fixes" into production