mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-27 16:30:24 +00:00
Use namespaced classes
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I8943e4e63fb41ca758c9ed25a4abb7664e13bb9f
This commit is contained in:
parent
255ab2d74f
commit
160368a296
|
@ -12,9 +12,9 @@ use MediaWiki\Auth\AuthenticationResponse;
|
|||
use MediaWiki\Auth\Hook\AuthManagerLoginAuthenticateAuditHook;
|
||||
use MediaWiki\Auth\Hook\LocalUserCreatedHook;
|
||||
use MediaWiki\Hook\RecentChange_saveHook;
|
||||
use MediaWiki\User\User;
|
||||
use MediaWiki\User\UserFactory;
|
||||
use RecentChange;
|
||||
use User;
|
||||
|
||||
class Hooks implements
|
||||
AuthManagerLoginAuthenticateAuditHook,
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
namespace LoginNotify;
|
||||
|
||||
use BagOStuff;
|
||||
use CentralIdLookup;
|
||||
use Exception;
|
||||
use ExtensionRegistry;
|
||||
use IBufferingStatsdDataFactory;
|
||||
|
@ -20,13 +19,14 @@ use MediaWiki\Config\ServiceOptions;
|
|||
use MediaWiki\Extension\CentralAuth\User\CentralAuthUser;
|
||||
use MediaWiki\Extension\Notifications\Model\Event;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Request\WebRequest;
|
||||
use MediaWiki\User\CentralId\CentralIdLookup;
|
||||
use MediaWiki\User\User;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use MWCryptRand;
|
||||
use Psr\Log\LoggerAwareInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use UnexpectedValueException;
|
||||
use User;
|
||||
use WebRequest;
|
||||
use Wikimedia\Assert\Assert;
|
||||
use Wikimedia\IPUtils;
|
||||
use Wikimedia\Rdbms\IDatabase;
|
||||
|
|
|
@ -4,8 +4,8 @@ namespace LoginNotify;
|
|||
|
||||
use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel;
|
||||
use MediaWiki\Extension\Notifications\Model\Event;
|
||||
use MediaWiki\SpecialPage\SpecialPage;
|
||||
use Message;
|
||||
use SpecialPage;
|
||||
|
||||
class PresentationModel extends EchoEventPresentationModel {
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ namespace LoginNotify\Maintenance;
|
|||
use BatchRowIterator;
|
||||
use LoggedUpdateMaintenance;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\User\User;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use RecursiveIteratorIterator;
|
||||
use User;
|
||||
|
||||
$IP = getenv( 'MW_INSTALL_PATH' );
|
||||
if ( $IP === false ) {
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
|
||||
use LoginNotify\LoginNotify;
|
||||
use MediaWiki\CheckUser as CU;
|
||||
use MediaWiki\Config\HashConfig;
|
||||
use MediaWiki\Config\ServiceOptions;
|
||||
use MediaWiki\Logger\LoggerFactory;
|
||||
use MediaWiki\Request\FauxRequest;
|
||||
use MediaWiki\User\CentralId\LocalIdLookup;
|
||||
use MediaWiki\User\User;
|
||||
use MediaWiki\User\UserFactory;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
|
|
Loading…
Reference in a new issue