[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/jobqueue/jobs/ -> HTMLCacheUpdateJob.php (summary)

HTML cache invalidation of all pages linking to a given title. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 162 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLCacheUpdateJob:: (4 methods):
  __construct()
  run()
  invalidateTitles()
  workItemCount()


Class: HTMLCacheUpdateJob  - X-Ref

Job to purge the cache for all pages that link to or use another page or file

This job comes in a few variants:
- a) Recursive jobs to purge caches for backlink pages for a given title.
These jobs have have (recursive:true,table:<table>) set.
- b) Jobs to purge caches for a set of titles (the job title is ignored).
These jobs have have (pages:(<page ID>:(<namespace>,<title>),...) set.

__construct( $title, $params = '' )   X-Ref
No description

run()   X-Ref
No description

invalidateTitles( array $pages )   X-Ref

param: array $pages Map of (page ID => (namespace, DB key)) entries

workItemCount()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1