From 870327349f9adcc15e3bb2d4ac5df7c2cb0516ad Mon Sep 17 00:00:00 2001 From: Jimmy Collins Date: Sun, 24 Sep 2006 00:55:49 +0000 Subject: [PATCH] Improved layout after deleting items from watchlist --- includes/SpecialWatchlist.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index e02250f566..b24d1e3738 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -90,16 +90,16 @@ function wfSpecialWatchlist( $par ) { if( !is_null( $t ) ) { $wl = WatchedItem::fromUserTitle( $wgUser, $t ); if( $wl->removeWatch() === false ) { - $wgOut->addHTML( "
\n" . wfMsg( 'couldntremove', htmlspecialchars($one) ) ); + $wgOut->addHTML( wfMsg( 'couldntremove', htmlspecialchars($one) ) . "
\n" ); } else { wfRunHooks('UnwatchArticle', array(&$wgUser, new Article($t))); - $wgOut->addHTML( ' (' . htmlspecialchars($one) . ')' ); + $wgOut->addHTML( '(' . htmlspecialchars($one) . ')
' ); } } else { - $wgOut->addHTML( "
\n" . wfMsg( 'iteminvalidname', htmlspecialchars($one) ) ); + $wgOut->addHTML( wfMsg( 'iteminvalidname', htmlspecialchars($one) ) . "
\n" ); } } - $wgOut->addHTML( "
\n" . wfMsg( 'wldone' ) . "

\n" ); + $wgOut->addHTML( "

\n

" . wfMsg( 'wldone' ) . "

\n" ); } if ( $wgUseWatchlistCache ) { -- 2.20.1