Replace usage of deprecated SpecialPage::getTitle() function

Change-Id: Ibd301b5d039026495778d7638fd272997221101b