wiki.techinc.nl/includes/page/UndeletePageFactory.php
Timo Tijhof e3659dfef9 page: Improve class documentation briefs
* Indicate whether a class is a service (to be found via MediaWikiServices)
  or a lower-level class for certain backend logic.

* Indicate how to create / where to get instances of non-service classes,
  e.g. point to the relevant service.

* Remove copy-pasta text in file docblock that is unrelated,
  and incorporate any relevant text into the class docblock instead.

Change-Id: Ia3b9b8c22da4d7160c5e14ae6a6a7c9dca30e9db
2022-04-12 00:49:41 +00:00

22 lines
439 B
PHP

<?php
namespace MediaWiki\Page;
use MediaWiki\Permissions\Authority;
/**
* Service for page undelete actions.
*
* Default implementation is MediaWiki\Page\PageCommandFactory.
*
* @since 1.38
*/
interface UndeletePageFactory {
/**
* @param ProperPageIdentity $page
* @param Authority $authority
* @return UndeletePage
*/
public function newUndeletePage( ProperPageIdentity $page, Authority $authority ): UndeletePage;
}