wiki.techinc.nl/includes/filerepo/file
Aaron Schulz 3c7f29a6b9 Add small HtmlCacheUpdater service class to normalize purging code (2)
This is a re-submit of 35da1bbd7c, which was accidentally merged before
CR (and reverted with aa4da3c2e8).

The purge() method handles purging of both file cache and CDN, using
a PRESEND deferred update. This avoids code duplication and missing
file cache purge calls.

Also:
* Migrate HTMLCacheUpdate callers to just directly using HTMLCacheUpdateJob
* Add HtmlFileCacheUpdate class and defer such updates just like with CDN
* Simplify HTMLCacheUpdate constructor parameters
* Remove BacklinkCache::clear() calls which do nothing since the backlink
  query does not actually happen until the job runs

Bug: T230025
Change-Id: Ic1005e70e2c22d5bd1ca36dcdb618108ebe290f3
2020-04-14 03:19:07 +00:00
..
ArchivedFile.php Hard deprecate not passing a user to ArchivedFile::userCan 2020-03-16 23:52:48 +00:00
File.php Add small HtmlCacheUpdater service class to normalize purging code (2) 2020-04-14 03:19:07 +00:00
ForeignAPIFile.php filerepo: clean up File::getRepo() subclass return type comments 2020-03-19 16:40:15 -07:00
ForeignDBFile.php Hard deprecate File::delete methods 2020-03-21 03:13:50 +00:00
LocalFile.php Add small HtmlCacheUpdater service class to normalize purging code (2) 2020-04-14 03:19:07 +00:00
LocalFileDeleteBatch.php LocalFileDeleteBatch: Migrate to new signature requiring a user 2020-03-17 15:38:42 +00:00
LocalFileLockError.php
LocalFileMoveBatch.php filerepo: clean up File::getRepo() subclass return type comments 2020-03-19 16:40:15 -07:00
LocalFileRestoreBatch.php filerepo: clean up File::getRepo() subclass return type comments 2020-03-19 16:40:15 -07:00
MediaFileTrait.php Add core REST API endpoint for media links 2020-01-22 15:10:44 -06:00
OldLocalFile.php Hard deprecate not passing a user to OldLocalFile::userCan 2020-03-16 22:28:24 +00:00
UnregisteredLocalFile.php Fix doc of File::getSize() 2019-12-30 15:24:25 +01:00