mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-23 15:56:52 +00:00
Merge "Use extension namespace for TextExtracts"
This commit is contained in:
commit
23791622e0
|
@ -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"
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TextExtracts;
|
||||
namespace MediaWiki\Extension\TextExtracts;
|
||||
|
||||
use ApiBase;
|
||||
use ApiQueryBase;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TextExtracts;
|
||||
namespace MediaWiki\Extension\TextExtracts;
|
||||
|
||||
use DOMElement;
|
||||
use HtmlFormatter\HtmlFormatter;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TextExtracts;
|
||||
namespace MediaWiki\Extension\TextExtracts;
|
||||
|
||||
use ApiMain;
|
||||
use ApiResult;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TextExtracts;
|
||||
namespace MediaWiki\Extension\TextExtracts;
|
||||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue