| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Delete revisions which refer to a nonexisting page. Sometimes manual deletion done in a rush leaves crap in the database. 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.
| Author: | Rob Church <[email protected]> |
| File Size: | 96 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file maintenance/Maintenance.php |
DeleteOrphanedRevisions:: (3 methods):
__construct()
execute()
deleteRevs()
Class: DeleteOrphanedRevisions - X-Ref
Maintenance script that deletes revisions which refer to a nonexisting page.| __construct() X-Ref |
| No description |
| execute() X-Ref |
| No description |
| deleteRevs( $id, &$dbw ) X-Ref |
| Delete one or more revisions from the database Do this inside a transaction param: array $id Array of revision id values param: DatabaseBase $dbw DatabaseBase class (needs to be a master) |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |