diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2024-08-08 11:14:35 +0200 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2024-08-10 10:40:53 +0200 |
commit | f7ce0a0976736e42c5f49cce522e1e7b02b191b1 (patch) | |
tree | 4fd07ba99a42753f11ff71ba66ce72d64700db77 /tests/phpunit/includes/page | |
parent | 6df7a514843314222eb600cb27c5d6585a0608ab (diff) | |
download | mediawikicore-f7ce0a0976736e42c5f49cce522e1e7b02b191b1.tar.gz mediawikicore-f7ce0a0976736e42c5f49cce522e1e7b02b191b1.zip |
Move remaining four classes in includes/content into Content namespace
Bug: T353458
Change-Id: Ia0f3e22078550be410c4b87faf6aa4eabe6e270d
Diffstat (limited to 'tests/phpunit/includes/page')
-rw-r--r-- | tests/phpunit/includes/page/WikiPageDbTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/phpunit/includes/page/WikiPageDbTest.php b/tests/phpunit/includes/page/WikiPageDbTest.php index 0fdc019fa904..0e15bd78c721 100644 --- a/tests/phpunit/includes/page/WikiPageDbTest.php +++ b/tests/phpunit/includes/page/WikiPageDbTest.php @@ -2,6 +2,7 @@ use MediaWiki\Category\Category; use MediaWiki\CommentStore\CommentStoreComment; +use MediaWiki\Content\ContentHandler; use MediaWiki\Content\Renderer\ContentRenderer; use MediaWiki\Content\TextContent; use MediaWiki\Content\WikitextContent; @@ -1158,7 +1159,7 @@ more stuff } $this->hideDeprecated( 'WikiPage::getAutoDeleteReason:' ); - $this->hideDeprecated( 'ContentHandler::getAutoDeleteReason:' ); + $this->hideDeprecated( 'MediaWiki\\Content\\ContentHandler::getAutoDeleteReason:' ); $reason = $page->getAutoDeleteReason( $hasHistory ); if ( is_bool( $expectedResult ) || $expectedResult === null ) { |