aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryWatchlist.php
diff options
context:
space:
mode:
authorBrad Jorsch <bjorsch@wikimedia.org>2018-09-20 13:29:04 -0400
committerBrad Jorsch <bjorsch@wikimedia.org>2018-10-09 10:22:48 -0400
commitdff469a408dac341da27c97eaac85df946140e30 (patch)
tree19944440086384b09d0a17d79554af3ff7f65ce0 /includes/api/ApiQueryWatchlist.php
parent2f187ce749718073b17e12f4e90e7b5ac8b2061a (diff)
downloadmediawikicore-dff469a408dac341da27c97eaac85df946140e30.tar.gz
mediawikicore-dff469a408dac341da27c97eaac85df946140e30.zip
Re-namespace RevisionStore and RevisionRecord classes
During development a lot of classes were placed in MediaWiki\Storage\. The precedent set would mean that every class relating to something stored in a database table, plus all related value classes and such, would go into that namespace. Let's put them into MediaWiki\Revision\ instead. Then future classes related to the 'page' table can go into MediaWiki\Page\, future classes related to the 'user' table can go into MediaWiki\User\, and so on. Note I didn't move DerivedPageDataUpdater, PageUpdateException, PageUpdater, or RevisionSlotsUpdate in this patch. If these are kept long-term, they probably belong in MediaWiki\Page\ or MediaWiki\Edit\ instead. Bug: T204158 Change-Id: I16bea8927566a3c73c07e4f4afb3537e05aa04a5
Diffstat (limited to 'includes/api/ApiQueryWatchlist.php')
-rw-r--r--includes/api/ApiQueryWatchlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php
index 5dd247a3ff75..95fbd3de6c73 100644
--- a/includes/api/ApiQueryWatchlist.php
+++ b/includes/api/ApiQueryWatchlist.php
@@ -21,7 +21,7 @@
*/
use MediaWiki\MediaWikiServices;
-use MediaWiki\Storage\RevisionRecord;
+use MediaWiki\Revision\RevisionRecord;
/**
* This query action allows clients to retrieve a list of recently modified pages