Chi-squared distribution $\chi^2(k)$ has parameter $k$.
On the one hand, $k$ should be the shape parameter because chi-squared distribution is a special case of Gamma distribution: $\chi^2(k) \equiv \mathrm{Gamma}(k/2, 2)$ and the first parameter of Gamma distribution is called shape. Also changing of $k$ really alters its shape.
On the other hand, wikipedia says that the mean is a location parameter:
Examples of location parameters include the mean, the median, and the mode.
And $k$ is the mean of the chi-squared distribution.
But wiki also says that
Thus in the one-dimensional case if the location parameter is increased, the probability density or mass function shifts rigidly to the right, maintaining its exact shape.
In our case changing of $k$ doesn't shift the PDF but alters its shape as I said above.
So what is the type of parameter $k$: shape parameter or location parameter?
And if $k$ is the shape parameter does it imply that the mean of the distribution is not always its location parameter?