Revert "Add backwards compatibility for not yet released core change"

Authored by thiemowmde on Wed, May 16, 10:24 AM.

Description

Revert "Add backwards compatibility for not yet released core change"

This reverts commit 1affa89afba685d8e19b09b8550046a4b683c7ca.

The MediaWiki version got updated now, rendering this temporary hack
irrelevant now.

Change-Id: Iefa1d7cb0feb644c74072b6afcbfd089e611df59