The article speaks about some different places, so I answer separately:
As it is pointed to in the article, according to both Islam and history, Ka'aba was built by Ibrahim, who was a monotheist and a prophet of God. He built Ka'aba as a place for worship of Allah. But years after Ibrahim died, it was converted to a place for idols and idolatry. When Mohammad brought Islam and only after the whole people of Mecca (truly or apparently) became Muslims, he broke all the idols in the Ka'aba.
As the article itself says, not even a non-Muslim temple converted to an Islamic place in the lifetime of Mohammad. But after him, and by other people it has happened, mostly after wars that Muslims were victorious and by soldiers and normal people. If somebody does something wrong and he names him/herself a Muslim, doesn't imply that Islam agrees with him/her. These days you can see lots of churches (and other temples) in Muslim countries even where more than 90 percent of people are Muslims.
Islam never forces people to do even minor things, as it said in the Quran:
لا اکراه فی الدین
There shall be no compulsion in [acceptance of] the religion.
Destruction of religious temples surely is not accepted by Islam, and never has happened in the lifetime of Mohammad.
But please note that in some cases referred to in the Wikipedia article, people of that city/area themselves became Muslims and then converted the temples to mosques.
I hope that all of us think carefully about everything that we see/hear/read before we accept them as facts.