CirrusSearch
Elasticsearch-powered search for MediaWiki
|
A remediator that simply records all actions scheduled to it. More...
Public Member Functions | |
redirectInIndex (string $docId, WikiPage $page, string $indexSuffix) | |
@inheritDoc | |
pageNotInIndex (WikiPage $page) | |
@inheritDoc | |
ghostPageInIndex ( $docId, Title $title) | |
@inheritDoc | |
pageInWrongIndex ( $docId, WikiPage $page, $indexSuffix) | |
@inheritDoc | |
oldVersionInIndex ( $docId, WikiPage $page, $indexSuffix) | |
@inheritDoc | |
oldDocument (WikiPage $page) | |
@inheritDoc | |
getActions () | |
The list of recorded actions. | |
hasSameActions (BufferedRemediator $remediator) | |
Check if the actions recorded on this remediator are the same as the actions recorded on $remediator. | |
replayOn (Remediator $remediator) | |
resetActions () | |
Reset actions recorded by this remediator. | |
A remediator that simply records all actions scheduled to it.
These actions can then be replayed on an arbitrary remediator by calling replayOn( Remediator ). The actions can be reset by calling resetActions()
CirrusSearch\Sanity\BufferedRemediator::getActions | ( | ) |
The list of recorded actions.
CirrusSearch\Sanity\BufferedRemediator::ghostPageInIndex | ( | $docId, | |
Title | $title ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::hasSameActions | ( | BufferedRemediator | $remediator | ) |
Check if the actions recorded on this remediator are the same as the actions recorded on $remediator.
BufferedRemediator | $remediator |
CirrusSearch\Sanity\BufferedRemediator::oldDocument | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::oldVersionInIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::pageInWrongIndex | ( | $docId, | |
WikiPage | $page, | ||
$indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::pageNotInIndex | ( | WikiPage | $page | ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::redirectInIndex | ( | string | $docId, |
WikiPage | $page, | ||
string | $indexSuffix ) |
@inheritDoc
Implements CirrusSearch\Sanity\Remediator.
CirrusSearch\Sanity\BufferedRemediator::replayOn | ( | Remediator | $remediator | ) |
Remediator | $remediator |