Use hash for random link

It seems Special:Random no longer swallows the location hash so we
can make MZ happy now and use a hash instead of a URL (which is better
since it doesn't work without JavaScript)

Bug: 64924
Change-Id: I3ff89ffdefe1c75dddeabaa452c10bee1e6bfd95
Merge "Use hash for random link"