Use the new Wikimedia\Diff namespace

Bug: T339184
Change-Id: I381686678524868c85466bdafde3856a73a8cb1c
This commit is contained in:
Tim Starling 2023-06-29 11:56:13 +10:00
parent d950306544
commit fe592746b7
3 changed files with 5 additions and 5 deletions

View file

@ -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).

View file

@ -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;

View file

@ -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 {
/**