Added an id to history-search, so it can be accessed easily via DOM
authorFran Rogers <krimpet@users.mediawiki.org>
Tue, 5 Aug 2008 01:10:55 +0000 (01:10 +0000)
committerFran Rogers <krimpet@users.mediawiki.org>
Tue, 5 Aug 2008 01:10:55 +0000 (01:10 +0000)
includes/PageHistory.php

index 8980426..1b56349 100644 (file)
@@ -132,7 +132,7 @@ class PageHistory {
                
                $action = htmlspecialchars( $wgScript );
                $wgOut->addHTML(
-                       Xml::fieldset( wfMsg( 'history-search' ) ) .
+                       Xml::fieldset( wfMsg( 'history-search' ), false, array( 'id' => 'mw-history-search' ) ) .
                        "<form action=\"$action\" method=\"get\">" .
                        Xml::hidden( 'title', $this->mTitle->getPrefixedDBKey() ) . "\n" .
                        Xml::hidden( 'action', 'history' ) . "\n" .