(bug 18122) Fix fatal require() errors and typo in the README.
[lhc/web/wiklou.git] / maintenance / waitForSlave.php
1 <?php
2 /**
3 * @see wfWaitForSlaves()
4 * @file
5 * @ingroup Maintenance
6 */
7
8 require_once( "commandLine.inc" );
9 if ( isset( $args[0] ) ) {
10 wfWaitForSlaves($args[0]);
11 } else {
12 wfWaitForSlaves(10);
13 }
14
15