MediaWiki REL1_32
GadgetDefinitionDeletionUpdate.php
Go to the documentation of this file.
1<?php
24
34 private $target;
35
36 public function __construct( LinkTarget $target ) {
37 $this->target = $target;
38 }
39
40 public function doUpdate() {
41 GadgetRepo::singleton()->handlePageDeletion( $this->target );
42 }
43}
Abstract base class for update jobs that do something with some secondary data extracted from article...
DataUpdate to run whenever a page in the Gadget definition is deleted.
LinkTarget $target
Page that was deleted.
static singleton()
Get the configured default GadgetRepo.