mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-11 17:01:13 +00:00
Use namespaced FormatJson class
Change-Id: I54cfdbcadbc8331ff51b8fa6d661a4a3759b0dad
This commit is contained in:
parent
b904cffa53
commit
519387f7b6
|
@ -20,9 +20,9 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
||||||
|
|
||||||
use FormatJson;
|
|
||||||
use LoggedUpdateMaintenance;
|
use LoggedUpdateMaintenance;
|
||||||
use MediaWiki\Extension\OATHAuth\OATHAuthServices;
|
use MediaWiki\Extension\OATHAuth\OATHAuthServices;
|
||||||
|
use MediaWiki\Json\FormatJson;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
|
|
||||||
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
||||||
|
|
||||||
use FormatJson;
|
|
||||||
use LoggedUpdateMaintenance;
|
use LoggedUpdateMaintenance;
|
||||||
|
use MediaWiki\Json\FormatJson;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
|
|
||||||
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
||||||
|
|
|
@ -20,8 +20,8 @@ namespace MediaWiki\Extension\OATHAuth\Api\Module;
|
||||||
|
|
||||||
use ApiBase;
|
use ApiBase;
|
||||||
use ApiResult;
|
use ApiResult;
|
||||||
use FormatJson;
|
|
||||||
use MediaWiki\Extension\OATHAuth\IModule;
|
use MediaWiki\Extension\OATHAuth\IModule;
|
||||||
|
use MediaWiki\Json\FormatJson;
|
||||||
use MediaWiki\Logger\LoggerFactory;
|
use MediaWiki\Logger\LoggerFactory;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use Wikimedia\ParamValidator\ParamValidator;
|
use Wikimedia\ParamValidator\ParamValidator;
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
namespace MediaWiki\Extension\OATHAuth;
|
namespace MediaWiki\Extension\OATHAuth;
|
||||||
|
|
||||||
use BagOStuff;
|
use BagOStuff;
|
||||||
use FormatJson;
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use MediaWiki\Config\ConfigException;
|
use MediaWiki\Config\ConfigException;
|
||||||
use MediaWiki\Context\RequestContext;
|
use MediaWiki\Context\RequestContext;
|
||||||
use MediaWiki\Extension\OATHAuth\Notifications\Manager;
|
use MediaWiki\Extension\OATHAuth\Notifications\Manager;
|
||||||
|
use MediaWiki\Json\FormatJson;
|
||||||
use MediaWiki\User\CentralId\CentralIdLookupFactory;
|
use MediaWiki\User\CentralId\CentralIdLookupFactory;
|
||||||
use MediaWiki\User\User;
|
use MediaWiki\User\User;
|
||||||
use MWException;
|
use MWException;
|
||||||
|
|
Loading…
Reference in a new issue