* Restored prior text for password reminder button and e-mail, replacing
the factually inaccurate text that was there.
* (bug 2178) Fix temp dir check again
+* (bug 2488) Format 'deletedtext' message as wikitext
=== Caveats ===
$wgOut->setPagetitle( wfMsg( 'actioncomplete' ) );
$wgOut->setRobotpolicy( 'noindex,nofollow' );
- $sk = $wgUser->getSkin();
- $loglink = $sk->makeKnownLink( $wgContLang->getNsText( NS_SPECIAL ) .
- ':Log/delete',
- wfMsg( 'deletionlog' ) );
-
+ $loglink = '[[Special:Log/delete|' . wfMsg( 'deletionlog' ) . ']]';
$text = wfMsg( 'deletedtext', $deleted, $loglink );
- $wgOut->addHTML( '<p>' . $text . "</p>\n" );
+ $wgOut->addWikiText( $text );
$wgOut->returnToMain( false );
wfRunHooks('ArticleDeleteComplete', array(&$this, &$wgUser, $reason));
} else {
$wgOut->setPagetitle( wfMsg( 'actioncomplete' ) );
$wgOut->setRobotpolicy( 'noindex,nofollow' );
- $sk = $wgUser->getSkin();
- $loglink = $sk->makeKnownLinkObj(
- Title::makeTitle( NS_SPECIAL, 'Log/delete' ),
- wfMsg( 'deletionlog' ) );
-
+ $loglink = '[[Special:Log/delete|' . wfMsg( 'deletionlog' ) . ']]';
$text = wfMsg( 'deletedtext', $deleted, $loglink );
+
+ $wgOut->addWikiText( $text );
- $wgOut->addHTML( '<p>' . $text . "</p>\n" );
$wgOut->returnToMain( false, $this->mTitle->getPrefixedText() );
}