From: Jimmy Collins
Date: Sun, 24 Sep 2006 00:55:49 +0000 (+0000)
Subject: Improved layout after deleting items from watchlist
X-Git-Tag: 1.31.0-rc.0~55737
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=870327349f9adcc15e3bb2d4ac5df7c2cb0516ad;p=lhc%2Fweb%2Fwiklou.git
Improved layout after deleting items from watchlist
---
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 ) {