From b05f154944178d69f95b8c6ba0baa01fbc361c3d Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 6 Jul 2007 22:53:43 +0000 Subject: [PATCH] * Remove redundant "HTMLmonthelector" [sic] function * Class names start with a capital; please be consistent when addressing them * Update release notes --- RELEASE-NOTES | 3 ++- includes/SpecialContributions.php | 7 ++----- includes/XmlFunctions.php | 8 +------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 584458ac67..399355e8da 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -123,7 +123,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Introduce "raw editing" mode for the watchlist, to allow bulk additions, removals, and convenient exporting of watchlist contents * Put an (undo) button on the page history page, for people with rollback - permission only. + permission only +* Option to jump to specified time period in user contributions == Bugfixes since 1.10 == diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 627ded26db..bbd1bab645 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -419,13 +419,10 @@ function contributionsForm( $options ) { Xml::label( wfMsg( 'year' ), 'year' ) . ' '. Xml::input( 'year', 4, $options['year'], array('id' => 'year', 'maxlength' => 4) ) . ' '. Xml::label( wfMsg( 'month' ), 'month' ) . ' '. - xml::monthSelector( $options['month'], -1 ) . ' '. + Xml::monthSelector( $options['month'], -1 ) . ' '. Xml::submitButton( wfMsg( 'sp-contributions-submit' ) ) . Xml::closeElement( 'p' ) . '' . Xml::closeElement( 'form' ); return $f; -} - - -?> +} \ No newline at end of file diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php index 0241284961..2e86aa7d97 100644 --- a/includes/XmlFunctions.php +++ b/includes/XmlFunctions.php @@ -18,9 +18,6 @@ function wfCloseElement( $element ) { function HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) { return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden ); } -function HTMLmonthelector($selected = '', $allmonths = null) { - return Xml::monthSelector( $selected, $allmonths ); -} function wfSpan( $text, $class, $attribs=array() ) { return Xml::span( $text, $class, $attribs ); } @@ -62,7 +59,4 @@ function wfIsWellFormedXml( $text ) { } function wfIsWellFormedXmlFragment( $text ) { return Xml::isWellFormedXmlFragment( $text ); -} - - - +} \ No newline at end of file -- 2.20.1