Add a hook to allow changing the query of Special:AncientPages in extensions