Add -f as an alias of --force to cli args of updateCollation.php
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 22 Feb 2016 22:21:52 +0000 (17:21 -0500)
committerBrian Wolff <bawolff+wn@gmail.com>
Tue, 26 Apr 2016 17:07:30 +0000 (17:07 +0000)
Because I kept accidentally using -f without realizing it didn't
work.

Change-Id: I71da15c81ca12c630304f594d144c4c7289ec28c

maintenance/updateCollation.php

index 186feb2..6d9a616 100644 (file)
@@ -51,7 +51,7 @@ TEXT
                );
 
                $this->addOption( 'force', 'Run on all rows, even if the collation is ' .
-                       'supposed to be up-to-date.' );
+                       'supposed to be up-to-date.', false, false, 'f' );
                $this->addOption( 'previous-collation', 'Set the previous value of ' .
                        '$wgCategoryCollation here to speed up this script, especially if your ' .
                        'categorylinks table is large. This will only update rows with that ' .