Wisconsin lawmakers voted Thursday to strip nearly all collective bargaining rights from the state's public workers, ending a heated standoff over labor rights and delivering a key victory to Republicans who have targeted unions in efforts to slash government spending nationwide.