aboutsummaryrefslogtreecommitdiffstats
path: root/includes/revisiondelete
diff options
context:
space:
mode:
authorDannyS712 <dannys712.wiki@gmail.com>2021-05-02 23:55:07 +0000
committerDannyS712 <dannys712.wiki@gmail.com>2021-06-24 00:32:39 +0000
commit47d70dbfbae83827169bf39a21c8d32541dd94e6 (patch)
tree48c08d0cc2867949c5f7c5b4b8a2d4eeeaf6edb5 /includes/revisiondelete
parentf009c79eb7ca68d75a431372aadafede357d3845 (diff)
downloadmediawikicore-47d70dbfbae83827169bf39a21c8d32541dd94e6.tar.gz
mediawikicore-47d70dbfbae83827169bf39a21c8d32541dd94e6.zip
Post Revision-removal cleanup
Updates for the removal of the Revision class itself and the various methods/hooks/variables removed in the process, including: - Update some documentation removing most references to the Revision class and updating the MCR migration notes to reflect the past tense for Revision methods. - Change some capitalization from "Revision" to "revision" to make it clear comments are about revisions in general, not the Revision class in particular. - Minor code tweaks including removing unused variables that were around for the old hooks that were removed, and removing the use of DeprecatablePropertyArray where no longer needed for anything. - Fix incorrect documentation for PageUpdater::getStatus(), the status value changed a while ago to have revision-record in addition to revision, and recently to only have the revision-record, but ironically PageUpdater was never updated. - Removed Parser::$mRevisionObject, used to be a Revision object and was deprecated in 1.35, missed earlier because it was no longer being set to Revision objects, always null. - Add RevisionRecord typehints in DummyLinker to match those in the corresponding Linker methods This should be a no-op in terms of functionality. Bug: T247143 Change-Id: I03bbb94fc29085855448780b1a5ad9063911ecc4
Diffstat (limited to 'includes/revisiondelete')
-rw-r--r--includes/revisiondelete/RevDelRevisionItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/revisiondelete/RevDelRevisionItem.php b/includes/revisiondelete/RevDelRevisionItem.php
index 01f79a55f328..7e880cb6e635 100644
--- a/includes/revisiondelete/RevDelRevisionItem.php
+++ b/includes/revisiondelete/RevDelRevisionItem.php
@@ -37,7 +37,7 @@ class RevDelRevisionItem extends RevDelItem {
}
/**
- * Create revision object from $row sourced from $list
+ * Create RevisionRecord object from $row sourced from $list
*
* @param RevisionListBase $list
* @param mixed $row