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/%7B%24www_url%7Dadmin/password.php?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 ) {