mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-27 15:30:48 +00:00
Use namespaced classes
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I3a7b448f3793f6690bb329a2e5255a558048ed5a
This commit is contained in:
parent
de4695b75e
commit
954db277fc
|
@ -11,6 +11,7 @@ namespace MediaWiki\Extension\TitleBlacklist;
|
|||
use ApiMessage;
|
||||
use ApiResult;
|
||||
use ManualLogEntry;
|
||||
use MediaWiki\Context\RequestContext;
|
||||
use MediaWiki\EditPage\EditPage;
|
||||
use MediaWiki\Hook\EditFilterHook;
|
||||
use MediaWiki\Hook\MovePageCheckPermissionsHook;
|
||||
|
@ -26,7 +27,6 @@ use MediaWiki\Title\Title;
|
|||
use MediaWiki\User\User;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MessageSpecifier;
|
||||
use RequestContext;
|
||||
use StatusValue;
|
||||
use WikiPage;
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
namespace MediaWiki\Extension\TitleBlacklist;
|
||||
|
||||
use MediaWiki\Extension\Scribunto\Engines\LuaCommon\LibraryBase;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use Scribunto_LuaLibraryBase;
|
||||
|
||||
class Scribunto_LuaTitleBlacklistLibrary extends Scribunto_LuaLibraryBase {
|
||||
class Scribunto_LuaTitleBlacklistLibrary extends LibraryBase {
|
||||
public function register() {
|
||||
$lib = [
|
||||
'test' => [ $this, 'test' ],
|
||||
|
|
|
@ -5,8 +5,8 @@ namespace MediaWiki\Extension\TitleBlacklist;
|
|||
use MediaWiki\Auth\AbstractPreAuthenticationProvider;
|
||||
use MediaWiki\Auth\AuthenticationRequest;
|
||||
use MediaWiki\Auth\AuthManager;
|
||||
use MediaWiki\Context\RequestContext;
|
||||
use MediaWiki\User\User;
|
||||
use RequestContext;
|
||||
use StatusValue;
|
||||
|
||||
class TitleBlacklistPreAuthenticationProvider extends AbstractPreAuthenticationProvider {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Extension\TitleBlacklist\TitleBlacklist;
|
||||
use MediaWiki\Tests\Api\ApiTestCase;
|
||||
|
||||
/**
|
||||
* @group medium
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Auth\AuthenticationRequestTestCase;
|
||||
use MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest;
|
||||
use MediaWiki\Tests\Auth\AuthenticationRequestTestCase;
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest
|
||||
|
|
Loading…
Reference in a new issue