Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / page / UndeletePageFactory.php
blob1a3506b94c79d983af6ac56d250b4b1d9c8c7386
1 <?php
3 namespace MediaWiki\Page;
5 use MediaWiki\Permissions\Authority;
7 /**
8 * Service for page undelete actions.
10 * Default implementation is MediaWiki\Page\PageCommandFactory.
12 * @since 1.38
14 interface UndeletePageFactory {
16 /**
17 * @param ProperPageIdentity $page
18 * @param Authority $authority
19 * @return UndeletePage
21 public function newUndeletePage( ProperPageIdentity $page, Authority $authority ): UndeletePage;