Use extension namespace for TextExtracts

Change-Id: I01177e9bef0f25b6245ee3e93f605dc771642273
This commit is contained in:
alistair3149 2024-07-12 18:40:54 -04:00
parent 4e9b6273f4
commit cc8cf471fc
No known key found for this signature in database
8 changed files with 16 additions and 16 deletions

View file

@ -15,7 +15,7 @@
},
"APIPropModules": {
"extracts": {
"class": "TextExtracts\\ApiQueryExtracts",
"class": "MediaWiki\\Extension\\TextExtracts\\ApiQueryExtracts",
"services": [
"ConfigFactory",
"MainWANObjectCache",
@ -32,7 +32,7 @@
]
},
"AutoloadNamespaces": {
"TextExtracts\\": "includes/"
"MediaWiki\\Extension\\TextExtracts\\": "includes/"
},
"Hooks": {
"ApiOpenSearchSuggest": "main",
@ -40,7 +40,7 @@
},
"HookHandlers": {
"main": {
"class": "TextExtracts\\Hooks",
"class": "MediaWiki\\Extension\\TextExtracts\\Hooks",
"services": [
"ConfigFactory"
]

View file

@ -1,6 +1,6 @@
<?php
namespace TextExtracts;
namespace MediaWiki\Extension\TextExtracts;
use ApiBase;
use ApiQueryBase;

View file

@ -1,6 +1,6 @@
<?php
namespace TextExtracts;
namespace MediaWiki\Extension\TextExtracts;
use DOMElement;
use HtmlFormatter\HtmlFormatter;

View file

@ -1,6 +1,6 @@
<?php
namespace TextExtracts;
namespace MediaWiki\Extension\TextExtracts;
use ApiMain;
use ApiResult;

View file

@ -1,6 +1,6 @@
<?php
namespace TextExtracts;
namespace MediaWiki\Extension\TextExtracts;
use MediaWiki\MediaWikiServices;

View file

@ -1,21 +1,21 @@
<?php
namespace TextExtracts\Test;
namespace MediaWiki\Extension\TextExtracts\Test;
use ILanguageConverter;
use MediaWiki\Config\ConfigFactory;
use MediaWiki\Config\HashConfig;
use MediaWiki\Context\IContextSource;
use MediaWiki\Extension\TextExtracts\ApiQueryExtracts;
use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Message\Message;
use MediaWiki\Title\Title;
use MediaWikiCoversValidator;
use TextExtracts\ApiQueryExtracts;
use Wikimedia\LightweightObjectStore\ExpirationAwareness;
use Wikimedia\TestingAccessWrapper;
/**
* @covers \TextExtracts\ApiQueryExtracts
* @covers MediaWiki\Extension\TextExtracts\ApiQueryExtracts
* @group TextExtracts
*
* @license GPL-2.0-or-later

View file

@ -1,12 +1,12 @@
<?php
namespace TextExtracts\Test;
namespace MediaWiki\Extension\TextExtracts\Test;
use MediaWiki\Extension\TextExtracts\ExtractFormatter;
use MediaWikiIntegrationTestCase;
use TextExtracts\ExtractFormatter;
/**
* @covers \TextExtracts\ExtractFormatter
* @covers MediaWiki\Extension\TextExtracts\ExtractFormatter
* @group TextExtracts
*
* @license GPL-2.0-or-later

View file

@ -1,11 +1,11 @@
<?php
namespace TextExtracts\Test;
namespace MediaWiki\Extension\TextExtracts\Test;
use TextExtracts\TextTruncator;
use MediaWiki\Extension\TextExtracts\TextTruncator;
/**
* @covers \TextExtracts\TextTruncator
* @covers MediaWiki\Extension\TextExtracts\TextTruncator
* @group TextExtracts
*
* @license GPL-2.0-or-later