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
Merge "resourceloader: Add Doxygen group and improve overall docs"
[lhc/web/wiklou.git]
/
maintenance
/
rebuildImages.php
diff --git
a/maintenance/rebuildImages.php
b/maintenance/rebuildImages.php
index
3de0070
..
df2ab04
100644
(file)
--- a/
maintenance/rebuildImages.php
+++ b/
maintenance/rebuildImages.php
@@
-41,12
+41,32
@@
use Wikimedia\Rdbms\IMaintainableDatabase;
* @ingroup Maintenance
*/
class ImageBuilder extends Maintenance {
* @ingroup Maintenance
*/
class ImageBuilder extends Maintenance {
-
/**
* @var IMaintainableDatabase
*/
protected $dbw;
/**
* @var IMaintainableDatabase
*/
protected $dbw;
+ /** @var bool */
+ private $dryrun;
+
+ /** @var LocalRepo|null */
+ private $repo;
+
+ /** @var int */
+ private $updated;
+
+ /** @var int */
+ private $processed;
+
+ /** @var int */
+ private $count;
+
+ /** @var int */
+ private $startTime;
+
+ /** @var string */
+ private $table;
+
function __construct() {
parent::__construct();
function __construct() {
parent::__construct();
@@
-79,7
+99,7
@@
class ImageBuilder extends Maintenance {
* @return LocalRepo
*/
function getRepo() {
* @return LocalRepo
*/
function getRepo() {
- if (
!isset( $this->repo )
) {
+ if (
$this->repo === null
) {
$this->repo = RepoGroup::singleton()->getLocalRepo();
}
$this->repo = RepoGroup::singleton()->getLocalRepo();
}