From: Alexandre Emsenhuber Date: Sun, 3 Aug 2008 19:40:37 +0000 (+0000) Subject: Use a
for the date selector in history X-Git-Tag: 1.31.0-rc.0~46164 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=3c82d5ce6ec58f020dd0876b4b5f076d89176a54;p=lhc%2Fweb%2Fwiklou.git Use a
for the date selector in history --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index f134851774..f6f1ccded7 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -131,13 +131,14 @@ class PageHistory { $month = $wgRequest->getInt( 'month' ); $action = htmlspecialchars( $wgScript ); - $wgOut->addHTML( + $wgOut->addHTML( + Xml::fieldset( wfMsg( 'history-search' ) ) . "
" . Xml::hidden( 'title', $this->mTitle->getPrefixedDBKey() ) . "\n" . Xml::hidden( 'action', 'history' ) . "\n" . $this->getDateMenu( $year, $month ) . ' ' . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . - '

' + '
' ); wfRunHooks( 'PageHistoryBeforeList', array( &$this->mArticle ) ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 877d406083..a08b39415c 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1219,6 +1219,7 @@ Please check the URL you used to access this page.', 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with current version, (last) = difference with preceding version, M = minor edit.', +'history-search' => 'Search in history', 'history_copyright' => '-', # do not translate or duplicate this message to other languages 'deletedrev' => '[deleted]', 'histfirst' => 'Earliest', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 89d73e6ab3..e802a8d3f3 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -596,6 +596,7 @@ $wgMessageStructure = array( 'page_first', 'page_last', 'histlegend', + 'history-search', 'history_copyright', 'deletedrev', 'histfirst',