Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (EditInfo $editInfo, PageInfoProvider $pageInfoProvider, PropertyAnnotatorFactory $propertyAnnotatorFactory, SchemaFactory $schemaFactory) | |
process (Title $title) | |
Hook: NewRevisionFromEditComplete called when a revision was inserted due to an edit
Fetch additional information that is related to the saving that has just happened, e.g. regarding the last edit date. In runs where this hook is not triggered, the last DB entry (of MW) will be used to fill such properties.
Called from LocalFile.php, SpecialImport.php, Article.php, Title.php
GNU GPL v2+
SMW\MediaWiki\Hooks\NewRevisionFromEditComplete::__construct | ( | EditInfo | $editInfo, |
PageInfoProvider | $pageInfoProvider, | ||
PropertyAnnotatorFactory | $propertyAnnotatorFactory, | ||
SchemaFactory | $schemaFactory | ||
) |
EditInfo | $editInfo | |
PageInfoProvider | $pageInfoProvider | |
PropertyAnnotatorFactory | $propertyAnnotatorFactory | |
SchemaFactory | $schemaFactory |
SMW\MediaWiki\Hooks\NewRevisionFromEditComplete::process | ( | Title | $title | ) |
Title | $title |