GNU GPL v2+
- Since
- 2.1
- Author
- mwjames
◆ __construct()
SMW\MediaWiki\PageUpdater::__construct |
( |
Database |
$connection = null , |
|
|
TransactionalCallableUpdate |
$transactionalCallableUpdate = null |
|
) |
| |
- Since
- 2.5
- Parameters
-
Database | null | $connection | |
TransactionalCallableUpdate | null | $transactionalCallableUpdate | |
◆ addPage()
SMW\MediaWiki\PageUpdater::addPage |
( |
Title |
$title = null | ) |
|
◆ canUpdate()
SMW\MediaWiki\PageUpdater::canUpdate |
( |
| ) |
|
◆ clear()
SMW\MediaWiki\PageUpdater::clear |
( |
| ) |
|
◆ doPurgeHtmlCache()
SMW\MediaWiki\PageUpdater::doPurgeHtmlCache |
( |
| ) |
|
◆ doPurgeParserCache()
SMW\MediaWiki\PageUpdater::doPurgeParserCache |
( |
| ) |
|
◆ doPurgeParserCacheAsPool()
SMW\MediaWiki\PageUpdater::doPurgeParserCacheAsPool |
( |
| ) |
|
Controls the purge to use a direct DB access to make changes to avoid racing conditions for a large number of title entities.
- Since
- 3.0
◆ doPurgeWebCache()
SMW\MediaWiki\PageUpdater::doPurgeWebCache |
( |
| ) |
|
◆ doUpdate()
SMW\MediaWiki\PageUpdater::doUpdate |
( |
| ) |
|
◆ isHtmlCacheUpdate()
SMW\MediaWiki\PageUpdater::isHtmlCacheUpdate |
( |
|
$isHtmlCacheUpdate | ) |
|
- Since
- 3.0
- Parameters
-
boolean | $isHtmlCacheUpdate | |
◆ markAsPending()
SMW\MediaWiki\PageUpdater::markAsPending |
( |
| ) |
|
◆ pushUpdate()
SMW\MediaWiki\PageUpdater::pushUpdate |
( |
| ) |
|
Push pendingUpdates to be either deferred or direct executable, pending the setting invoked by PageUPdater::markAsPending.
- Since
- 3.0
◆ setFingerprint()
SMW\MediaWiki\PageUpdater::setFingerprint |
( |
|
$fingerprint = null | ) |
|
- Since
- 3.0
- Parameters
-
string | null | $fingerprint | |
◆ setOrigin()
SMW\MediaWiki\PageUpdater::setOrigin |
( |
|
$origin | ) |
|
◆ waitOnTransactionIdle()
SMW\MediaWiki\PageUpdater::waitOnTransactionIdle |
( |
| ) |
|
- Note
- MW 1.29+ runs Title::invalidateCache in AutoCommitUpdate which has been shown to cause transaction issues when executed while a transaction hasn't finished therefore use 'onTransactionIdle' to isolate the execution.
- Since
- 2.5
The documentation for this class was generated from the following file: