Wikipedia has policies that relate to that. The editorial policy is “neutral point of view” (NPOV) and articles that do not comply with that will be marked, discussed, and/or reverted. People who “edit war” can be temporarily blocked, or, in extreme cases, permanently banned from the site. One rule we have is that no editor may revert the same article more than three times in 24 hours (the “three revert rule”, or “3RR”). Breaking this rule results in a nearly automatic block of 24 hours. Administrators can also temporarily mark pages protected, preventing non-administrators from editing the page; this is a common strategy for ending an edit war. People who don’t get the point and perpetuate edit wars, refuse to compromise, or otherwise behave antisocially are banned by the consensus of the community, by the Arbitration Committee, or by Jimbo. Such bans are then enforced by the administrators.
With tens of thousands of editors and nearly 600 administrators, nearly every change gets looked at in relatively short order by someone else, and bad edits tend to get reverted, adjusted, or marked pretty quickly. And most of our editors do follow our NPOV policy reasonably well.