Replace usage of SpecialPage::getTitle with getPageTitle

Was deprecated in 1.23, see Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40.
Keeps backward compatibility.

Change-Id: I5329b6ed0fdf2a525e45a746990fc68e60919b84