non-text characters; set wgMaxTocLevel global; use
.PHONY target in Makefile in case someone happens
to have a file named 'test' or similar in the
maintenance/ directory.
help:
# Run 'make test' to run the parser tests.
# Run 'make doc' to run the phpdoc generation.
help:
# Run 'make test' to run the parser tests.
# Run 'make doc' to run the phpdoc generation.
'wgLoadBalancer' => LoadBalancer::newFromParams( $GLOBALS['wgDBservers'] ),
'wgLang' => new LanguageUtf8(),
'wgNamespacesWithSubpages' => array( 0 => preg_match('/\\bsubpage\\b/i', $opts)),
'wgLoadBalancer' => LoadBalancer::newFromParams( $GLOBALS['wgDBservers'] ),
'wgLang' => new LanguageUtf8(),
'wgNamespacesWithSubpages' => array( 0 => preg_match('/\\bsubpage\\b/i', $opts)),
+ 'wgMaxTocLevel' => 999,
);
$this->savedGlobals = array();
foreach( $settings as $var => $val ) {
);
$this->savedGlobals = array();
foreach( $settings as $var => $val ) {
$outfile = "$prefix-actual";
$this->dumpToFile( $output, $outfile );
$outfile = "$prefix-actual";
$this->dumpToFile( $output, $outfile );
- $diff = `diff -u $infile $outfile`;
+ $diff = `diff -au $infile $outfile`;
unlink( $infile );
unlink( $outfile );
unlink( $infile );
unlink( $outfile );