fix php error when SpecialNewWikis is enabled and updateSpecialPages is run