mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Use the new Wikimedia\Diff namespace
Bug: T339184 Change-Id: I381686678524868c85466bdafde3856a73a8cb1c
This commit is contained in:
parent
d950306544
commit
fe592746b7
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace MediaWiki\Extension\AbuseFilter;
|
||||
|
||||
use Diff;
|
||||
use TableDiffFormatter;
|
||||
use Wikimedia\Diff\Diff;
|
||||
use Wikimedia\Diff\TableDiffFormatter;
|
||||
|
||||
/**
|
||||
* Like TableDiffFormatter, but will always render the full context (even for empty diffs).
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace MediaWiki\Extension\AbuseFilter\Variables;
|
||||
|
||||
use ContentHandler;
|
||||
use Diff;
|
||||
use Language;
|
||||
use MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterHookRunner;
|
||||
use MediaWiki\Extension\AbuseFilter\Parser\AFPData;
|
||||
|
@ -28,9 +27,10 @@ use StringUtils;
|
|||
use TextContent;
|
||||
use Title;
|
||||
use UnexpectedValueException;
|
||||
use UnifiedDiffFormatter;
|
||||
use User;
|
||||
use WANObjectCache;
|
||||
use Wikimedia\Diff\Diff;
|
||||
use Wikimedia\Diff\UnifiedDiffFormatter;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
use Wikimedia\Rdbms\LBFactory;
|
||||
use WikiPage;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace MediaWiki\Extension\AbuseFilter\View;
|
||||
|
||||
use Diff;
|
||||
use DifferenceEngine;
|
||||
use Html;
|
||||
use IContextSource;
|
||||
|
@ -18,6 +17,7 @@ use MediaWiki\Extension\AbuseFilter\TableDiffFormatterFullContext;
|
|||
use MediaWiki\Linker\LinkRenderer;
|
||||
use OOUI;
|
||||
use TextContent;
|
||||
use Wikimedia\Diff\Diff;
|
||||
|
||||
class AbuseFilterViewDiff extends AbuseFilterView {
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue