Revert r36523 -- removal of the fieldset made Recentchanges/Recentchangeslinked very...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 2 Jul 2008 02:31:05 +0000 (02:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 2 Jul 2008 02:31:05 +0000 (02:31 +0000)
Options were in a table, which ended up showing white background without the fieldset (some sites use a light blue background for specials).
Generally everything just ran together, making it hard to visually distinguish the bits of the page.
It's looking much better with the set restored...

includes/specials/SpecialRecentchanges.php

index 535dab2..fc1578f 100644 (file)
@@ -123,6 +123,7 @@ class SpecialRecentChanges extends SpecialPage {
                        $batch->execute();
                        $this->webOutput( $rows, $opts );
                }
+       
        }
 
        /**
@@ -407,6 +408,7 @@ class SpecialRecentChanges extends SpecialPage {
 
                $panel = array();
                $panel[] = $this->optionsPanel( $defaults, $nondefaults );
+               $panel[] = '<hr />';
 
                $extraOpts = $this->getExtraOptions( $opts );
 
@@ -434,7 +436,9 @@ class SpecialRecentChanges extends SpecialPage {
                $panel[] = $form;
                $panelString = implode( "\n", $panel );
 
-               $wgOut->addHTML( '<div class="rcoptions">' . $panelString . '</div>' );
+               $wgOut->addHTML(
+                       Xml::fieldset( wfMsg( 'recentchanges' ), $panelString, array( 'class' => 'rcoptions' ) )
+               );
 
                $this->setBottomText( $wgOut, $opts );
        }