mediawiki: fix issues with moving to mods-enabled

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