X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMergeHistory.php;h=9d638696413023a90095c354cf2d89357ff65040;hb=d19826aa35b206847a568a4b2c1c9ffaa615fca5;hp=8cf3af158182a3e653fb3fe646091531db93766c;hpb=bdfa96eb726c9997a010f5a194eec71925bfddc2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MergeHistory.php b/includes/MergeHistory.php index 8cf3af1581..9d63869641 100644 --- a/includes/MergeHistory.php +++ b/includes/MergeHistory.php @@ -25,6 +25,7 @@ * @file */ use Wikimedia\Timestamp\TimestampException; +use Wikimedia\Rdbms\IDatabase; /** * Handles the backend logic of merging the histories of two @@ -55,11 +56,10 @@ class MergeHistory { /** @var MWTimestamp|bool Timestamp upto which history from the source will be merged */ protected $timestampLimit; - /** @var integer Number of revisions merged (for Special:MergeHistory success message) */ + /** @var int Number of revisions merged (for Special:MergeHistory success message) */ protected $revisionsMerged; /** - * MergeHistory constructor. * @param Title $source Page from which history will be merged * @param Title $dest Page to which history will be merged * @param string|bool $timestamp Timestamp up to which history from the source will be merged