(bug 45821) Fix prev diff link to work in special:contributions etc.

Change-Id: I84648b1ef5d595d1f95883c5f1864878b549849e
Merge "(bug 45821) Fix prev diff link to work in special:contributions etc."