The vote capped months of parliamentary shenanigans and came after a concerted effort by advocates for pedestrians and bicyclists to convince undecided members of the City Council the tickets were an effective way to reduce headline-grabbing and heartbreaking crashes.