X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fexport%2FBaseDump.php;h=fb6b2b8b50499cfe6fd240881f03dce0bd08ff1f;hb=4d9d61460d9420cc184c22243b0da81855e8f3a1;hp=6a2d3bf626565264dec0d1236dedb8673e1f1068;hpb=09de89c9886e38d9edffbd5edac1b0a837fa262a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/export/BaseDump.php b/includes/export/BaseDump.php index 6a2d3bf626..fb6b2b8b50 100644 --- a/includes/export/BaseDump.php +++ b/includes/export/BaseDump.php @@ -52,11 +52,7 @@ class BaseDump { $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 ); } /** @@ -105,7 +101,7 @@ class BaseDump { } /** - * @access private + * @private */ function nextPage() { if ( $this->skipTo( 'page', 'mediawiki' ) ) { @@ -125,7 +121,7 @@ class BaseDump { } /** - * @access private + * @private */ function nextRev() { if ( $this->skipTo( 'revision' ) ) { @@ -138,7 +134,7 @@ class BaseDump { } /** - * @access private + * @private * @return string */ function nextText() { @@ -148,7 +144,7 @@ class BaseDump { } /** - * @access private + * @private * @param string $name * @param string $parent * @return bool|null @@ -181,7 +177,7 @@ class BaseDump { * no sub-elements or such scary things. * * @return string - * @access private + * @private */ function nodeContents() { if ( $this->atEnd ) { @@ -207,7 +203,7 @@ class BaseDump { } /** - * @access private + * @private * @return null */ function close() {