*/
protected function checkHasGzip() {
if ( self::$hasGzip === null ) {
- self::$hasGzip = ( Installer::locateExecutableInDefaultPaths( 'gzip' ) !== false );
+ self::$hasGzip = ( ExecutableFinder::findInDefaultPaths( 'gzip' ) !== false );
}
if ( !self::$hasGzip ) {
* @param string $name Title of the current page
*/
protected function assertPageStart( $id, $ns, $name ) {
-
$this->assertNodeStart( "page" );
$this->skipWhitespace();
if ( ( $this->xml->nodeType == XMLReader::END_ELEMENT )
&& ( $this->xml->name == "text" )
) {
-
$this->xml->read();
}
$this->skipWhitespace();