dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
maintenance
/
preprocessDump.php
diff --git
a/maintenance/preprocessDump.php
b/maintenance/preprocessDump.php
index
683de45
..
17d97b0
100644
(file)
--- a/
maintenance/preprocessDump.php
+++ b/
maintenance/preprocessDump.php
@@
-41,6
+41,7
@@
class PreprocessDump extends DumpIterator {
public function getStripList() {
global $wgParser;
public function getStripList() {
global $wgParser;
+
return $wgParser->getStripList();
}
return $wgParser->getStripList();
}
@@
-75,7
+76,7
@@
class PreprocessDump extends DumpIterator {
/**
* Callback function for each revision, preprocessToObj()
/**
* Callback function for each revision, preprocessToObj()
- * @param
$rev Revision
+ * @param
Revision $rev
*/
public function processRevision( $rev ) {
$content = $rev->getContent( Revision::RAW );
*/
public function processRevision( $rev ) {
$content = $rev->getContent( Revision::RAW );
@@
-87,7
+88,8
@@
class PreprocessDump extends DumpIterator {
try {
$this->mPreprocessor->preprocessToObj( strval( $content->getNativeData() ), 0 );
} catch ( Exception $e ) {
try {
$this->mPreprocessor->preprocessToObj( strval( $content->getNativeData() ), 0 );
} catch ( Exception $e ) {
- $this->error( "Caught exception " . $e->getMessage() . " in " . $rev->getTitle()->getPrefixedText() );
+ $this->error( "Caught exception " . $e->getMessage() . " in "
+ . $rev->getTitle()->getPrefixedText() );
}
}
}
}
}
}