$this->infiles = explode( ';', $infile );
$this->reader = new XMLReader();
$infile = array_shift( $this->infiles );
- if ( defined( 'LIBXML_PARSEHUGE' ) ) {
- $this->reader->open( $infile, null, LIBXML_PARSEHUGE );
- } else {
- $this->reader->open( $infile );
- }
+ $this->reader->open( $infile, null, LIBXML_PARSEHUGE );
}
/**
}
/**
- * @access private
+ * @private
*/
function nextPage() {
if ( $this->skipTo( 'page', 'mediawiki' ) ) {
}
/**
- * @access private
+ * @private
*/
function nextRev() {
if ( $this->skipTo( 'revision' ) ) {
}
/**
- * @access private
+ * @private
* @return string
*/
function nextText() {
}
/**
- * @access private
+ * @private
* @param string $name
* @param string $parent
* @return bool|null
* no sub-elements or such scary things.
*
* @return string
- * @access private
+ * @private
*/
function nodeContents() {
if ( $this->atEnd ) {
}
/**
- * @access private
+ * @private
* @return null
*/
function close() {