mediawiki: first step in simplification

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