Manual:$wgDisableQueryPageUpdate

Details
Set this to an array of special page names to prevent  from updating those pages.