Add namespace and deprecation alias to WatchedItem
commit03dc841a0832aaadeceb20d6c3b526380762d68a
authorEbrahim Byagowi <ebrahim@gnu.org>
Fri, 17 May 2024 09:37:08 +0000 (17 13:07 +0330)
committerEbrahim Byagowi <ebrahim@gnu.org>
Fri, 17 May 2024 09:56:36 +0000 (17 13:26 +0330)
treed5574971e03cd7a9fd6aee5fe4e7fd6ca2bba995
parent86593606ab4f82682e67038f9860f0c936e537bc
Add namespace and deprecation alias to WatchedItem

This patch introduces a namespace declaration for the
MediaWiki\Watchlist to WatchedItem and establishes a class
alias marked as deprecated since version 1.43.

Bug: T353458
Change-Id: Id2a582b624f21867240def2541c98ce5b1bd12b4
18 files changed:
autoload.php
includes/actions/WatchAction.php
includes/api/ApiQueryInfo.php
includes/api/ApiQueryWatchlist.php
includes/api/Hook/ApiQueryWatchlistExtractOutputDataHook.php
includes/changes/ChangesList.php
includes/specials/SpecialWatchlist.php
includes/watchlist/WatchedItem.php
includes/watchlist/WatchedItemQueryService.php
includes/watchlist/WatchedItemStore.php
includes/watchlist/WatchedItemStoreInterface.php
tests/phpunit/includes/actions/WatchActionTest.php
tests/phpunit/includes/linker/LinkerTest.php
tests/phpunit/mocks/DummyServicesTrait.php
tests/phpunit/unit/includes/watchlist/WatchedItemQueryServiceUnitTest.php
tests/phpunit/unit/includes/watchlist/WatchedItemStoreUnitTest.php
tests/phpunit/unit/includes/watchlist/WatchedItemUnitTest.php
tests/phpunit/unit/includes/watchlist/WatchlistManagerUnitTest.php