Added $wgMaxBacklinksInvalidate to avoid massive html cache invalidation.

Change-Id: I4fadded0e351883a907d307d64af31cdc6164240
(cherry picked from commit b23188b8adc15c477b1cecc138af2f35c95d82e8)