* Clarified the difference between wfMsg and wfMsgForContent
[mediawiki.git] / maintenance / dumpHTML.php
blob6ba3fc58c90fb66cea15202f2b48b0367757df76
1 <?php
2 /**
3 * @todo document
4 * @package MediaWiki
5 * @subpackage Maintenance
6 */
8 /** */
10 $optionsWithArgs = array( 's', 'd' );
12 require_once( "commandLine.inc" );
13 require_once( "dumpHTML.inc" );
15 error_reporting( E_ALL & (~E_NOTICE) );
18 if ( !empty( $options['s'] ) ) {
19 $start = $options['s'];
20 } else {
21 $start = 1;
24 if ( !empty( $options['d'] ) ) {
25 $dest = $options['d'];
26 } else {
27 $dest = 'static';
30 dumpHTML( $dest, $start );
32 exit();