16 public function run() {
17 $services = MediaWikiServices::getInstance();
20 $wikiPage = $services->getWikiPageFactory()->newFromID( $this->params[
'wikiPageId'] );
22 $deletePage = $services->getDeletePageFactory()->newDeletePage(
24 $services->getUserFactory()->newFromId( $this->params[
'userId'] )
27 ->setSuppress( $this->params[
'suppress'] )
28 ->setTags( json_decode( $this->params[
'tags'] ) )
29 ->setLogSubtype( $this->params[
'logsubtype'] )
30 ->setDeletionAttempted()
34 $this->params[
'pageRole'] ?? DeletePage::PAGE_BASE,
35 $this->params[
'reason'],