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
rdbms: make LoadBalancer::getConnection() ignore CONN_TRX_AUTO when unusable
[lhc/web/wiklou.git]
/
maintenance
/
dumpTextPass.php
diff --git
a/maintenance/dumpTextPass.php
b/maintenance/dumpTextPass.php
index
e18d0b8
..
57e09a7
100644
(file)
--- a/
maintenance/dumpTextPass.php
+++ b/
maintenance/dumpTextPass.php
@@
-722,13
+722,13
@@
TEXT
}
private function getTextSpawned( $id ) {
}
private function getTextSpawned( $id ) {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
if ( !$this->spawnProc ) {
// First time?
$this->openSpawn();
}
$text = $this->getTextSpawnedOnce( $id );
if ( !$this->spawnProc ) {
// First time?
$this->openSpawn();
}
$text = $this->getTextSpawnedOnce( $id );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
return $text;
}
return $text;
}
@@
-774,7
+774,7
@@
TEXT
}
private function closeSpawn() {
}
private function closeSpawn() {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
if ( $this->spawnRead ) {
fclose( $this->spawnRead );
}
if ( $this->spawnRead ) {
fclose( $this->spawnRead );
}
@@
-791,7
+791,7
@@
TEXT
pclose( $this->spawnProc );
}
$this->spawnProc = false;
pclose( $this->spawnProc );
}
$this->spawnProc = false;
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
}
private function getTextSpawnedOnce( $id ) {
}
private function getTextSpawnedOnce( $id ) {
@@
-986,5
+986,5
@@
TEXT
}
}
}
}
-$maintClass =
'TextPassDumper'
;
+$maintClass =
TextPassDumper::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;