[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> populateRevisionLength.php (summary)

Populates the rev_len and ar_len fields for old revisions created before MW 1.10. 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: 155 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

PopulateRevisionLength:: (5 methods):
  __construct()
  getUpdateKey()
  doDBUpdates()
  doLenUpdates()
  upgradeRow()


Class: PopulateRevisionLength  - X-Ref

Maintenance script that populates the rev_len and ar_len fields
for old revisions created before MW 1.10.

__construct()   X-Ref
No description

getUpdateKey()   X-Ref
No description

doDBUpdates()   X-Ref
No description

doLenUpdates( $table, $idCol, $prefix, $fields )   X-Ref

param: string $table
param: string $idCol
param: string $prefix
param: array $fields
return: int

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

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



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