mediawiki-extensions-Nuke/.phan/stubs/CheckUserTemporaryAccountsByIPLookup.php
jsn 98aa8d9942
Enable temp account lookup by IP address
- Adds a soft dependency on CheckUser
- Lists pages created by IP user or temp acccounts associated with IP
  address when the lookup is available

Bug: T342785
Depends-On: I45a18f1fcf1a17bdaeefabebcd2f67a946a2cc2e
Change-Id: Idcdd7d787180e8e99fdcbe856e4fc237d9721824
2024-10-21 10:18:32 +02:00

31 lines
1 KiB
PHP

<?php
namespace MediaWiki\CheckUser\Services;
class CheckUserTemporaryAccountsByIPLookup {
/**
* Allows Nuke to pass CI without CheckUser
*/
public const CONSTRUCTOR_OPTIONS = [];
/**
* @param \MediaWiki\Config\ServiceOptions $serviceOptions
* @param \Wikimedia\Rdbms\IConnectionProvider $connectionProvider
* @param \JobQueueGroup $jobQueueGroup
* @param \MediaWiki\User\TempUser\TempUserConfig $tempUserConfig
* @param \MediaWiki\User\UserFactory $userFactory
* @param \MediaWiki\Permissions\PermissionManager $permissionManager
* @param \MediaWiki\User\UserOptionsLookup $userOptionsLookup
*/
public function __construct(
\MediaWiki\Config\ServiceOptions $serviceOptions,
\Wikimedia\Rdbms\IConnectionProvider $connectionProvider,
\JobQueueGroup $jobQueueGroup,
\MediaWiki\User\TempUser\TempUserConfig $tempUserConfig,
\MediaWiki\User\UserFactory $userFactory,
\MediaWiki\Permissions\PermissionManager $permissionManager,
\MediaWiki\User\UserOptionsLookup $userOptionsLookup
) {
}
}