summaryrefslogtreecommitdiff
path: root/includes/SpecialWantedpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialWantedpages.php')
-rw-r--r--includes/SpecialWantedpages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php
index 7b070604..8e5cee3e 100644
--- a/includes/SpecialWantedpages.php
+++ b/includes/SpecialWantedpages.php
@@ -103,7 +103,7 @@ class WantedPagesPage extends QueryPage {
* @return string
*/
function makeWlhLink( &$title, &$skin, $text ) {
- $wlhTitle = Title::makeTitle( NS_SPECIAL, 'Whatlinkshere' );
+ $wlhTitle = SpecialPage::getTitleFor( 'Whatlinkshere' );
return $skin->makeKnownLinkObj( $wlhTitle, $text, 'target=' . $title->getPrefixedUrl() );
}