From: Alexandre Emsenhuber Date: Mon, 3 Sep 2012 18:10:09 +0000 (+0200) Subject: Improve documentation of maintenance scripts. X-Git-Tag: 1.31.0-rc.0~22481 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=2a7478b4fb3313d7b5d8f115feec2760a38a4057;p=lhc%2Fweb%2Fwiklou.git Improve documentation of maintenance scripts. Change-Id: Id7a04ff816dc47a8cc81a4da5ab0dff26b688bd5 --- diff --git a/maintenance/update.php b/maintenance/update.php index 78e88273a3..877f1366a3 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -34,6 +34,11 @@ if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), ' $wgUseMasterForMaintenance = true; require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script to run database schema updates. + * + * @ingroup Maintenance + */ class UpdateMediaWiki extends Maintenance { function __construct() { diff --git a/maintenance/updateArticleCount.php b/maintenance/updateArticleCount.php index 730a1f64e3..4d49dd2dbb 100644 --- a/maintenance/updateArticleCount.php +++ b/maintenance/updateArticleCount.php @@ -1,7 +1,7 @@ addOption( 'target-collation', 'Set this to the new collation type to ' . - 'use instead of $wgCategoryCollation. Usually you should not use this, ' . - 'you should just update $wgCategoryCollation in LocalSettings.php.', + 'use instead of $wgCategoryCollation. Usually you should not use this, ' . + 'you should just update $wgCategoryCollation in LocalSettings.php.', false, true ); $this->addOption( 'dry-run', 'Don\'t actually change the collations, just ' . 'compile statistics.' ); diff --git a/maintenance/updateDoubleWidthSearch.php b/maintenance/updateDoubleWidthSearch.php index bcceab3999..dc7398ad16 100644 --- a/maintenance/updateDoubleWidthSearch.php +++ b/maintenance/updateDoubleWidthSearch.php @@ -1,6 +1,6 @@ addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false );