When we go to [[Special:WhatLinksHere/Some page]], and click at some of the "limit links" in the following line:
View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)
for example, the "20", the target of ALL the other links changes to something link
wgServer + wgScript + '?title=Special:Whatlinkshere/Some_page&limit=20
This way, the links does not works as expected anymore: instead of a list of 50, 100, 250 or 500 items, we would get always a list of 20 elements.
Does anybody knows what is wrong?