I've tried removing the mdy but the option still showed up in Special:Preferences with the default format (from en).
There is other variable which defines the list of formats shown.