From f43c4521fc88b4a75f4fc67c6d08624a6fbf7282 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 31 Jul 2005 19:35:52 +0000 Subject: [PATCH] Removed some nonsense and fixed ugly HTML --- includes/SpecialWatchlist.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 56f48fcc42..d254b333f3 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -271,12 +271,12 @@ function wfSpecialWatchlist( $par ) { $s = $sk->makeKnownLink( $wgContLang->specialPage( 'Watchlist' ), (0 == $hideOwn) ? wfMsgHtml( 'wlhide' ) : wfMsgHtml( 'wlshow' ), - wfArrayToCGI( array('hideOwn' => $wgLang->formatNum( 1-$hideOwn )), $nondefaults ) ); + wfArrayToCGI( array('hideOwn' => 1-$hideOwn ), $nondefaults ) ); $wgOut->addHTML( wfMsgHtml( "wlhideshowown", $s ) ); if ( $numRows == 0 ) { - $wgOut->addWikitext( "
\n" . wfMsg( 'watchnochange' ), false ); + $wgOut->addWikitext( "
" . wfMsg( 'watchnochange' ), false ); $wgOut->addHTML( "

\n" ); return; } @@ -342,8 +342,7 @@ function wlDaysLink( $d, $page, $options = array() ) { return $s; } -function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) -{ +function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) { $hours = array( 1, 2, 6, 12 ); $days = array( 1, 3, 7 ); $cl = ''; -- 2.20.1