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