Two men have been charged following an incident involving “around 30 people with weapons” in Wakefield city centre.