Config parameter to shut off Special:Random hook

Change-Id: Ia29076837b01323177c36aee0fb88c7207d86eb6
(cherry picked from commit 46227b9dbca210300b509ca73ecaf4c981b29c50)