MediaWiki  master
MergeHistoryFactory.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Page;
23 
24 use MergeHistory;
25 
34 
41  public function newMergeHistory(
43  PageIdentity $destination,
44  string $timestamp = null
45  ): MergeHistory;
46 }
Handles the backend logic of merging the histories of two pages.
Service for mergehistory actions.
newMergeHistory(PageIdentity $source, PageIdentity $destination, string $timestamp=null)
Interface for objects (potentially) representing an editable wiki page.
$source