Replaced enable_mediawiki_relay with mediawiki_relay.

The latter is defined as a local variable in the calling class;
the former is not defined anywhere.

Also, fixed a logic switch that was reversed, as suggested
by Mark.

Change-Id: Ib19c80334eccc09df3303958f19e2b4cae1c9a17