[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> orphans.php (summary)

Look for 'orphan' revisions hooked to pages which don't exist and 'childless' pages with no revisions. Then, kill the poor widows and orphans. Man this is depressing. Copyright © 2005 Brion Vibber <[email protected]> https://www.mediawiki.org/

Author: <[email protected]>
File Size: 248 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

Orphans:: (6 methods):
  __construct()
  execute()
  lockTables()
  checkOrphans()
  checkWidows()
  checkSeparation()


Class: Orphans  - X-Ref

Maintenance script that looks for 'orphan' revisions hooked to pages which
don't exist and 'childless' pages with no revisions.

__construct()   X-Ref
No description

execute()   X-Ref
No description

lockTables( $db, $extraTable = array()   X-Ref
Lock the appropriate tables for the script

param: DatabaseBase $db
param: string $extraTable The name of any extra tables to lock (eg: text)

checkOrphans( $fix )   X-Ref
Check for orphan revisions

param: bool $fix Whether to fix broken revisions when found

checkWidows( $fix )   X-Ref

param: bool $fix

checkSeparation( $fix )   X-Ref
Check for pages where page_latest is wrong

param: bool $fix Whether to fix broken entries



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