Create redirects to titles correctly in WikitextContentHandler

Bug: 50450
Bug: 50451
Change-Id: I6781420f01d8c90d47f4b9f3ad099cadf0f8ced5
Merge "Create redirects to titles correctly in WikitextContentHandler"