Index: trunk/phase3/maintenance/mctest.php |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script make several set, incr and get requests on every |
| 5 | + * memcached server and show a report. |
| 6 | + * |
4 | 7 | * $Id$ |
5 | 8 | * @file |
6 | 9 | * @ingroup Maintenance |
Index: trunk/phase3/maintenance/update.php |
— | — | @@ -3,6 +3,8 @@ |
4 | 4 | /** |
5 | 5 | * Run all updaters. |
6 | 6 | * |
| 7 | + * This is used when the database schema is modified and we need to apply patches. |
| 8 | + * |
7 | 9 | * @file |
8 | 10 | * @todo document |
9 | 11 | * @ingroup Maintenance |
Index: trunk/phase3/maintenance/undelete.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Undelete a page |
| 4 | + * Undelete a page by fetching it from the archive table |
5 | 5 | * |
6 | 6 | * @file |
7 | 7 | * @ingroup Maintenance |
Index: trunk/phase3/maintenance/getSlaveServer.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script report the hostname of a slave server. |
| 5 | + * |
4 | 6 | * @file |
5 | 7 | * @ingroup Maintenance |
6 | 8 | */ |
Index: trunk/phase3/maintenance/runJobs.php |
— | — | @@ -1,5 +1,11 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script starts pending jobs. |
| 5 | + * |
| 6 | + * Usage: |
| 7 | + * --maxjobs <num> (default 10000) |
| 8 | + * --type <job_cmd> |
| 9 | + * |
4 | 10 | * @file |
5 | 11 | * @ingroup Maintenance |
6 | 12 | */ |
Index: trunk/phase3/maintenance/ourusers.php |
— | — | @@ -1,5 +1,11 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Wikimedia specific |
| 5 | + * |
| 6 | + * This script generates SQL used to update MySQL users on a hardcoded |
| 7 | + * list of hosts. It takes care of setting the wikiuser for every |
| 8 | + * database as well as setting up wikiadmin. |
| 9 | + * |
4 | 10 | * @todo document |
5 | 11 | * @file |
6 | 12 | * @ingroup Maintenance |
Index: trunk/phase3/maintenance/clear_stats.php |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script remove all statistics tracking from memcached |
| 5 | + * for ALL wiki ! |
| 6 | + * |
4 | 7 | * @file |
5 | 8 | * @ingroup Maintenance |
6 | 9 | */ |
Index: trunk/phase3/maintenance/deleteImageMemcached.php |
— | — | @@ -1,6 +1,10 @@ |
2 | 2 | <?php |
3 | | -// php deleteImageMemcached.php --until "2005-09-05 00:00:00" --sleep 0 --report 10 |
4 | 3 | /** |
| 4 | + * This script delete image informations from memcached. |
| 5 | + * |
| 6 | + * Usage example: |
| 7 | + * php deleteImageMemcached.php --until "2005-09-05 00:00:00" --sleep 0 --report 10 |
| 8 | + * |
5 | 9 | * @file |
6 | 10 | * @ingroup Maintenance |
7 | 11 | */ |
Index: trunk/phase3/maintenance/checkUsernames.php |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script verify that database usernames are actually valid. |
| 5 | + * An existing usernames can become invalid if User::isValidUserName() |
| 6 | + * is altered or if we change the $wgMaxNameChars |
4 | 7 | * @file |
5 | 8 | * @ingroup Maintenance |
6 | 9 | */ |
Index: trunk/phase3/maintenance/deleteRevision.php |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Delete a given list of revision. |
| 5 | + * The revision is in fact moved to the archive table. |
| 6 | + * |
4 | 7 | * @file |
5 | 8 | * @ingroup Maintenance |
6 | 9 | */ |
Index: trunk/phase3/maintenance/showJobs.php |
— | — | @@ -2,6 +2,8 @@ |
3 | 3 | /** |
4 | 4 | * Based on runJobs.php |
5 | 5 | * |
| 6 | + * Report number of jobs currently waiting in master database. |
| 7 | + * |
6 | 8 | * @file |
7 | 9 | * @ingroup Maintenance |
8 | 10 | * @author Tim Starling |
Index: trunk/phase3/maintenance/waitForSlave.php |
— | — | @@ -1,5 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * @see wfWaitForSlaves() |
4 | 5 | * @file |
5 | 6 | * @ingroup Maintenance |
6 | 7 | */ |
Index: trunk/phase3/maintenance/rebuildmessages.php |
— | — | @@ -1,5 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * This script purge languages messages from memcached |
4 | 5 | * @file |
5 | 6 | * @ingroup Maintenance |
6 | 7 | */ |
— | — | @@ -18,4 +19,4 @@ |
19 | 20 | if( $wgEnableSidebarCache ) |
20 | 21 | $messageMemc->delete( "{$db}:sidebar" ); |
21 | 22 | echo "Deleted\n"; |
22 | | -} |
\ No newline at end of file |
| 23 | +} |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -923,9 +923,11 @@ |
924 | 924 | |
925 | 925 | |
926 | 926 | $wgShowIPinHeader = true; # For non-logged in users |
927 | | -$wgMaxNameChars = 255; # Maximum number of bytes in username |
928 | 927 | $wgMaxSigChars = 255; # Maximum number of Unicode characters in signature |
929 | 928 | $wgMaxArticleSize = 2048; # Maximum article size in kilobytes |
| 929 | +# Maximum number of bytes in username. You want to run the maintenance |
| 930 | +# script ./maintenancecheckUsernames.php once you have changed this value |
| 931 | +$wgMaxNameChars = 255; |
930 | 932 | |
931 | 933 | $wgMaxPPNodeCount = 1000000; # A complexity limit on template expansion |
932 | 934 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -440,6 +440,7 @@ |
441 | 441 | * (bug 14845) Bug in prefs javascript: Calling an array item without checking |
442 | 442 | its existance. |
443 | 443 | * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3 |
| 444 | +* (bug 12384) Comments in maintenance/*php |
444 | 445 | |
445 | 446 | === API changes in 1.13 === |
446 | 447 | |