Add redlink=1 to previous and next page links if needed

Bug 59097
Change-Id: If7fe5d096308ed382ceccab9ed557360a25375b3
Merge "Add redlink=1 to previous and next page links if needed"