mediawiki: fix envvars permissions, remove cruft.

Change-Id: I94669166a1d01f69fdc54389557fb1636638a822
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>