Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1606,14 +1606,12 @@ |
1607 | 1607 | } |
1608 | 1608 | |
1609 | 1609 | $curUP = $wgUser->getUserPage(); |
1610 | | - $sk = $wgOut->getSkin(); |
1611 | 1610 | if ( $this->mTitle->getNamespace() == NS_USER |
1612 | 1611 | && substr( $this->mTitle->getPrefixedText(), 0, strlen( $curUP->getPrefixedText() ) ) != $curUP->getPrefixedText() |
1613 | 1612 | && $this->formtype != 'preview' |
1614 | 1613 | && $this->formtype != 'diff' ) |
1615 | 1614 | { |
1616 | | - $utpLink = $sk->makeKnownLinkObj( $this->mTitle->getTalkPage(), wfMsgHtml( 'editinguserpagetalklink' ), 'action=edit' ); |
1617 | | - $wgOut->addHTML( wfMsgWikiHtml( 'editinguserpage', $utpLink ) ); |
| 1615 | + $wgOut->addHTML( wfMessage( 'editinguserpage', $this->mTitle->getTalkPage()->getFullURL( 'action=edit' ) )->parse() ); |
1618 | 1616 | } |
1619 | 1617 | |
1620 | 1618 | if ( wfReadOnly() ) { |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1437,8 +1437,7 @@ |
1438 | 1438 | 'edit-no-change' => 'Your edit was ignored, because no change was made to the text.', |
1439 | 1439 | 'edit-already-exists' => 'Could not create a new page. |
1440 | 1440 | It already exists.', |
1441 | | -'editinguserpage' => "'''Note:''' You are editing a [[Help:User page|user page]]. To leave this user a message, $1.", |
1442 | | -'editinguserpagetalklink' => 'edit their talk page', |
| 1441 | +'editinguserpage' => "'''Note:''' You are editing a [[Help:User page|user page]]. To leave this user a message, [$1 edit their talk page].", |
1443 | 1442 | 'addsection-preload' => '', # do not translate or duplicate this message to other languages |
1444 | 1443 | 'addsection-editintro' => '', # do not translate or duplicate this message to other languages |
1445 | 1444 | |