I'll just expand upon what I've said in the comments as an answer. The sum $$\sum_{t=0}^n \frac{1}{1+rt}$$ will not have a nice closed form. However what wikipedia has done is approximate this sum as an integral. The integral will just be $$\int_{t=0}^n \frac{dt}{1+rt}=\frac1r\ln(1+rt)|_0^n=\frac1r \ln(1+nr)$$ Which is basically what you've got without multiplying by the principle value, and relabelling some variables. Now something to watch out for is that this will be off by a small constant. If you look at the diagram below, there is some error area that the integral fails to pick up, so it will actually be slightly smaller.
In this case however you know the error area is below 1 (because if you imagine sliding each error area into the first square (purely horizontally it will not fill it all up)
and above one half, (draw a line between the corners of each error area to make a triangle and each triangle is half the area of the corresponding rectangle, so the sum of all the triangles is half the area of the unit square)
So since the error is between 1 and a half, for large n it should be pretty insignificant, and this is a pretty good approximation.