Merge "Use extension namespace for TextExtracts"

This commit is contained in:
jenkins-bot 2024-09-12 16:05:21 +00:00 committed by Gerrit Code Review
commit 23791622e0
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