Add wrapper div for RC label legend
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 4 Aug 2009 00:50:50 +0000 (00:50 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 4 Aug 2009 00:50:50 +0000 (00:50 +0000)
By request of Umherirrender on CodeReview for r54242.

includes/specials/SpecialRecentchanges.php

index 608bb50..2f3473a 100644 (file)
@@ -472,8 +472,10 @@ class SpecialRecentChanges extends SpecialPage {
                        $flags[] = ChangesList::flagLegend( 'unpatrolled' );
                }
 
+               $wgOut->addHTML( '<div class="mw-rc-label-legend">' );
                $wgOut->addWikiMsg( 'recentchanges-label-legend',
                        $wgLang->commaList( $flags ) );
+               $wgOut->addHTML( '</div>' );
 
                $this->setBottomText( $wgOut, $opts );
        }