I do not buy that a significant number of people nor practicing pediatricians ever thought babies can’t feel pain. This claim that it was “widely believed” babies didn’t feel pain is a narrative that prioritizes the opinions of a few academics, who were wrong, above the opinions of parents globally.
The same is true of the abstract idea of drawing lines. If you say that people drew lines and it lead to abuse, and therefore it’s wild what “people” believe, you are talking about the abusers who were wrong. The people on the other side of those lines didn’t have such wild beliefs, but the framing of your story is implicitly ignoring them. You’re choosing to focus on the “wild” beliefs of one group and make that the conclusion of your argument on human behavior. There’s another story you’re not telling where “people” did not have “wild” beliefs, and turned out to be right.
It’s not clear what “widely believed” means; what evidence there is for that claim, or who its referring to, or how many people it’s talking about. They don’t mention that it was widely believed by many others that babies do feel pain, nor how many of those people there were in comparison. Just because a few academics argued about it at conferences doesn’t mean it was actually believed by a significant number of real practicing doctors. Some academics have a very bad habit of thinking nothing exists outside of other recent academic papers they can reference in their own language.
BTW why does the Wikipedia link cite 1999? The paper arguing babies feel pain is from 1987. Digging further, the academic idea the babies didn’t feel pain seems to have originated in the 1940s with some academic papers that had methodology problems. So what about before that? If the assumption was babies did feel pain until then, summarizing this as being a belief that changed in 1999 is totally misleading. What about other countries? Was this temporarily incorrect belief about babies shared by doctors in Asia, Africa, and India?