From 461deb493d8a66bba1327998aa3021efe762afad Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 3 Aug 2009 00:21:03 +0000 Subject: [PATCH] Add legend to watchlist as well Patch by svip. Follow-up to r54242. --- includes/specials/SpecialWatchlist.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 4d159f5fbf..3d37b625b4 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -290,6 +290,10 @@ function wfSpecialWatchlist( $par ) { $form .= Xml::closeElement( 'fieldset' ); $wgOut->addHTML( $form ); + $wgOut->addWikiMsg( 'recentchanges-label-legend', + ChangesList::flag( 'newpage' ), ChangesList::flag( 'minor' ), + ChangesList::flag( 'bot' ), ChangesList::flag( 'unpatrolled' ) ); + # If there's nothing to show, stop here if( $numRows == 0 ) { $wgOut->addWikiMsg( 'watchnochange' ); -- 2.20.1