X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FnamespaceDupes.php;h=bbe4469ae62be86b6b211e830ddb5d4d335ce5fa;hb=5cff12767ea31613c52c3b02e95f3b9a535e34c8;hp=4a2b49ae9387c2b30ed0f5315657ebb4a0a79fbe;hpb=fb44a171b20b1ca832b93c8d788070fc6b13d932;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 4a2b49ae93..bbe4469ae6 100644 --- a/maintenance/namespaceDupes.php +++ b/maintenance/namespaceDupes.php @@ -37,7 +37,7 @@ use Wikimedia\Rdbms\IMaintainableDatabase; * * @ingroup Maintenance */ -class NamespaceConflictChecker extends Maintenance { +class NamespaceDupes extends Maintenance { /** * @var IMaintainableDatabase @@ -459,10 +459,10 @@ class NamespaceConflictChecker extends Maintenance { /** * Get the preferred destination title for a given target page. - * @param integer $ns The destination namespace ID + * @param int $ns The destination namespace ID * @param string $name The conflicting prefix - * @param integer $sourceNs The source namespace - * @param integer $sourceDbk The source DB key (i.e. page_title) + * @param int $sourceNs The source namespace + * @param int $sourceDbk The source DB key (i.e. page_title) * @param array $options Associative array of validated command-line options * @return Title|false */ @@ -616,5 +616,5 @@ class NamespaceConflictChecker extends Maintenance { } } -$maintClass = "NamespaceConflictChecker"; +$maintClass = NamespaceDupes::class; require_once RUN_MAINTENANCE_IF_MAIN;