Followup r54328: Would've helped to commit this
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Aug 2009 00:23:56 +0000 (00:23 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Aug 2009 00:23:56 +0000 (00:23 +0000)
maintenance/Maintenance.php

index 3482d55..0e964d0 100644 (file)
@@ -481,6 +481,7 @@ abstract class Maintenance {
         * @param $force boolean Whether to force the help to show, default false
         */
        private function maybeHelp( $force = false ) {
+               ksort( $this->mParams );
                if( $this->hasOption('help') || in_array( 'help', $this->mArgs ) || $force ) {
                        $this->mQuiet = false;
                        if( $this->mDescription ) {
@@ -772,6 +773,7 @@ abstract class Maintenance {
                                'PopulateCategory'         => $d . 'populateCategory.php',
                                'PopulateLogSearch'        => $d . 'populateLogSearch.php',
                                'PopulateParentId'         => $d . 'populateParentId.php',
+                               'PopulateSha1'             => $d . 'populateSha1.php',
                                'Protect'                  => $d . 'protect.php',
                                'PurgeList'                => $d . 'purgeList.php',
                                'PurgeOldText'             => $d . 'purgeOldText.php',