[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> rebuildImages.php (summary)

Update image metadata records. Usage: php rebuildImages.php [--missing] [--dry-run] Options: --missing  Crawl the uploads dir for images without records, and add them only.

Author: Brion Vibber
File Size: 232 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

ImageBuilder:: (14 methods):
  __construct()
  execute()
  getRepo()
  build()
  init()
  progress()
  buildTable()
  buildImage()
  imageCallback()
  buildOldImage()
  oldimageCallback()
  crawlMissing()
  checkMissingImage()
  addMissingImage()


Class: ImageBuilder  - X-Ref

Maintenance script to update image metadata records.

__construct()   X-Ref


execute()   X-Ref
No description

getRepo()   X-Ref

return: FileRepo

build()   X-Ref
No description

init( $count, $table )   X-Ref
No description

progress( $updated )   X-Ref
No description

buildTable( $table, $key, $callback )   X-Ref
No description

buildImage()   X-Ref
No description

imageCallback( $row, $copy )   X-Ref
No description

buildOldImage()   X-Ref
No description

oldimageCallback( $row, $copy )   X-Ref
No description

crawlMissing()   X-Ref
No description

checkMissingImage( $fullpath )   X-Ref
No description

addMissingImage( $filename, $fullpath )   X-Ref
No description



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