Wikipedia states that under certain circumstances, $\mathrm{BIC} $ can be calculated as: $$\mathrm{BIC} = n \ln(\mathrm{RSS}/n) + k \ln(n),$$
where $\mathrm{RSS}$ is the residual sum of squares. However, I was not able to find a reliable source for it. This question gives another source, however that source is just a copy of the Wikipedia article.
Yaffee and McGee state that
$$\mathrm{BIC} = n \ln(\mathrm{MSE}) + k \ln(n),$$
which IMHO would be identical to the Wikipedia definition, if they did not specify
$$\mathrm{MSE} = \frac{1}{n-k}(RSS).$$
That's a definition of $\mathrm{MSE}$ that I have never seen before (due to $-k$) and does not make a lot of sense to me.
Any references to reliable sources for BIC with residual sum of squares or an explanation of the strange definition of $\mathrm{MSE}$ is greatly appreciated.
Thank you.