[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> nukeNS.php (summary)

Remove pages with only 1 revision from the MediaWiki namespace, without flooding recent changes, delete logs, etc. Irreversible (can't use standard undelete) and does not update link tables This is mainly useful to run before maintenance/update.php when upgrading to 1.9, to prevent flooding recent changes/deletion logs.  It's intended to be conservative, so it's possible that a few entries will be left for deletion by the upgrade script.  It's also possible that it hasn't been tested thouroughly enough, and will delete something it shouldn't; so back up your DB if there's anything in the MediaWiki that is important to you.

Author: Steve Sanbeg
File Size: 122 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

NukeNS:: (2 methods):
  __construct()
  execute()


Class: NukeNS  - X-Ref

Maintenance script that removes pages with only one revision from the
MediaWiki namespace.

__construct()   X-Ref
No description

execute()   X-Ref
No description



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