Add legend to watchlist as well
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 3 Aug 2009 00:21:03 +0000 (00:21 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 3 Aug 2009 00:21:03 +0000 (00:21 +0000)
Patch by svip.  Follow-up to r54242.

includes/specials/SpecialWatchlist.php

index 4d159f5..3d37b62 100644 (file)
@@ -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' );