Merge "Hard deprecate HTMLCacheUpdate"
This commit is contained in:
commit
b10c2c984a
2 changed files with 5 additions and 1 deletions
|
|
@ -477,6 +477,8 @@ because of Phabricator reports.
|
|||
* DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings.
|
||||
* CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation
|
||||
warnings.
|
||||
* Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation
|
||||
warnings.
|
||||
* …
|
||||
|
||||
=== Other changes in 1.39 ===
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@ use MediaWiki\Page\PageReference;
|
|||
* HTML file cache invalidation all the pages linking to a given title
|
||||
*
|
||||
* @ingroup Cache
|
||||
* @deprecated Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead
|
||||
* @deprecated Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead.
|
||||
* Hard deprecated since 1.39.
|
||||
*/
|
||||
class HTMLCacheUpdate extends DataUpdate {
|
||||
/** @var PageReference */
|
||||
|
|
@ -42,6 +43,7 @@ class HTMLCacheUpdate extends DataUpdate {
|
|||
public function __construct(
|
||||
PageReference $pageTo, $table, $causeAction = 'unknown', $causeAgent = 'unknown'
|
||||
) {
|
||||
wfDeprecated( __CLASS__, '1.34' );
|
||||
$this->pageTo = $pageTo;
|
||||
$this->table = $table;
|
||||
$this->causeAction = $causeAction;
|
||||
|
|
|
|||
Loading…
Reference in a new issue