* Remove redundant "HTMLmonthelector" [sic] function
authorRob Church <robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 22:53:43 +0000 (22:53 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 22:53:43 +0000 (22:53 +0000)
* Class names start with a capital; please be consistent when addressing them
* Update release notes

RELEASE-NOTES
includes/SpecialContributions.php
includes/XmlFunctions.php

index 584458a..399355e 100644 (file)
@@ -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 ==
 
index 627ded2..bbd1bab 100644 (file)
@@ -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' ) .
                '</fieldset>' .
                Xml::closeElement( 'form' );
        return $f;
-}
-
-
-?>
+}
\ No newline at end of file
index 0241284..2e86aa7 100644 (file)
@@ -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