MediaWiki
1.34.0
GadgetDefinitionSecondaryDataUpdate.php
Go to the documentation of this file.
1
<?php
2
24
use
MediaWiki\Linker\LinkTarget
;
25
26
class
GadgetDefinitionSecondaryDataUpdate
extends
DataUpdate
{
27
31
private
$target
;
32
33
public
function
__construct
(
LinkTarget
$target
) {
34
$this->target =
$target
;
35
}
36
37
public
function
doUpdate
() {
38
GadgetRepo::singleton
()->handlePageUpdate( $this->target );
39
}
40
}
DataUpdate
Abstract base class for update jobs that do something with some secondary data extracted from article...
Definition:
DataUpdate.php:28
GadgetRepo\singleton
static singleton()
Get the configured default GadgetRepo.
Definition:
GadgetRepo.php:88
GadgetDefinitionSecondaryDataUpdate\doUpdate
doUpdate()
Perform the actual work.
Definition:
GadgetDefinitionSecondaryDataUpdate.php:37
GadgetDefinitionSecondaryDataUpdate
Definition:
GadgetDefinitionSecondaryDataUpdate.php:26
GadgetDefinitionSecondaryDataUpdate\$target
LinkTarget $target
Definition:
GadgetDefinitionSecondaryDataUpdate.php:31
MediaWiki\Linker\LinkTarget
Definition:
LinkTarget.php:26
GadgetDefinitionSecondaryDataUpdate\__construct
__construct(LinkTarget $target)
Definition:
GadgetDefinitionSecondaryDataUpdate.php:33
extensions
Gadgets
includes
content
GadgetDefinitionSecondaryDataUpdate.php
Generated on Thu Dec 19 2019 14:53:53 for MediaWiki by
1.8.16