Did you read the article?
Is it considered a revelation by God through a particular Pope?
It was the consistent teaching of all Christian Churches until the 1930s. The early Protestant Reformers believed contraception was worse than homosexual sodomy, precisely because it says (through action), "God got it wrong when He created human beings."
Homosexual activity is just gross, like screwing sheep, but contraception is a categorical rejection of God's design of man and woman.
We're not just sex organs. God did give us brains and we have our free will.