[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> populateRevisionSha1.php (summary)

Fills the rev_sha1 and ar_sha1 columns of revision and archive tables for revisions created before MW 1.19. 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: 216 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

PopulateRevisionSha1:: (7 methods):
  __construct()
  getUpdateKey()
  doDBUpdates()
  doSha1Updates()
  doSha1LegacyUpdates()
  upgradeRow()
  upgradeLegacyArchiveRow()


Class: PopulateRevisionSha1  - X-Ref

Maintenance script that fills the rev_sha1 and ar_sha1 columns of revision
and archive tables for revisions created before MW 1.19.

__construct()   X-Ref
No description

getUpdateKey()   X-Ref
No description

doDBUpdates()   X-Ref
No description

doSha1Updates( $table, $idCol, $prefix )   X-Ref

param: string $table
param: string $idCol
param: string $prefix
return: int Rows changed

doSha1LegacyUpdates()   X-Ref

return: int

upgradeRow( $row, $table, $idCol, $prefix )   X-Ref

param: stdClass $row
param: string $table
param: string $idCol
param: string $prefix
return: bool

upgradeLegacyArchiveRow( $row )   X-Ref

param: stdClass $row
return: bool



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