MediaWiki
REL1_33
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
GadgetDefinitionSecondaryDataUpdate
Definition
GadgetDefinitionSecondaryDataUpdate.php:26
GadgetDefinitionSecondaryDataUpdate\__construct
__construct(LinkTarget $target)
Definition
GadgetDefinitionSecondaryDataUpdate.php:33
GadgetDefinitionSecondaryDataUpdate\$target
LinkTarget $target
Definition
GadgetDefinitionSecondaryDataUpdate.php:31
GadgetDefinitionSecondaryDataUpdate\doUpdate
doUpdate()
Perform the actual work.
Definition
GadgetDefinitionSecondaryDataUpdate.php:37
GadgetRepo\singleton
static singleton()
Get the configured default GadgetRepo.
Definition
GadgetRepo.php:88
MediaWiki\Linker\LinkTarget
Definition
LinkTarget.php:26
extensions
Gadgets
includes
content
GadgetDefinitionSecondaryDataUpdate.php
Generated on Mon Nov 25 2024 15:48:54 for MediaWiki by
1.10.0