SpecialWhatlinkshere: Use Config instead of globals

Change-Id: Ib785ea6371801e7864a8d3a4f19a7a3ffa4760c5
SpecialWithoutInterwiki: Use Config instead of globals

Change-Id: I19bf57bdbf0c793cba25033d219d35353f3ae936
Merge "SpecialWhatlinkshere: Use Config instead of globals"
Merge "SpecialWithoutInterwiki: Use Config instead of globals"