getPageTitle/getTitle 1.22 and below compatibility

Patch 2: added other special Pages with the getPageTitle
compatibility issue. Wikidata hooks have getPageTitle, but the expression
was given without error, so I did not change this.

Patch 3: used Kip's suggested check version.

Change-Id: I643919fb701755cfcb54df938a6e6e0c94a7d74e