[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> fixSlaveDesync.php (summary)

Fix erroneous page_latest values due to slave desynchronisation. 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: 246 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

FixSlaveDesync:: (5 methods):
  __construct()
  getDbType()
  execute()
  findPageLatestCorruption()
  desyncFixPage()


Class: FixSlaveDesync  - X-Ref

Maintenance script that fixes erroneous page_latest values
due to slave desynchronisation.

__construct()   X-Ref
No description

getDbType()   X-Ref
No description

execute()   X-Ref
No description

findPageLatestCorruption()   X-Ref
Find all pages that have a corrupted page_latest

return: array

desyncFixPage( $pageID )   X-Ref
Fix a broken page entry

param: int $pageID The page_id to fix



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