Wikipedia says the pdf for the gamma function is:
\[ X \sim \operatorname{Gamma}(\alpha,\beta) \implies \Pr(X=x) \propto x^{\alpha-1}e^{-\beta x} \]
If $Y = 1/X$, then
\[ \Pr(Y=y) = \Pr(X=1/y) \propto (1\mathbin/y)^{\alpha-1}e^{-\beta/y} = y^{-(\alpha-1)}e^{-\beta\mathbin/y} = y^{-\alpha+1}e^{-\beta\mathbin/y} \]
However, wikipedia says of the inverse gamma distribution that
\[ \Pr(Y=y) \propto y^{-\alpha\mathbf{-1}}e^{-\beta/y} \]
Eg, -1, not +1.
Is this just a parameterization difference, or a mistake in wikipedia, or a mistake in my derivation?