Restore next link to Special:AllPages

This commit is a follow-up to 9ffa5fc.

Bug: 69951
Change-Id: If244ebd656bf1537e671fd986edc39bcc01bb9b5