X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcreateAndPromote.php;h=da9b4d63a0b3f534f36483d16b1c71883583b972;hb=ddef82758db4144f716431e04387d96de617135d;hp=5ff3af13cef8b5e08aad531b53403e432a5ea5e3;hpb=b5ca4f5b26996253fe8f6d2107e91485130d4d9a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php index 5ff3af13ce..da9b4d63a0 100644 --- a/maintenance/createAndPromote.php +++ b/maintenance/createAndPromote.php @@ -103,11 +103,12 @@ class CreateAndPromote extends Maintenance { return; } elseif ( count( $promotions ) !== 0 ) { + $dbDomain = WikiMap::getCurrentWikiDbDomain()->getId(); $promoText = "User:{$username} into " . implode( ', ', $promotions ) . "...\n"; if ( $exists ) { - $this->output( wfWikiID() . ": Promoting $promoText" ); + $this->output( "$dbDomain: Promoting $promoText" ); } else { - $this->output( wfWikiID() . ": Creating and promoting $promoText" ); + $this->output( "$dbDomain: Creating and promoting $promoText" ); } }