Go to the source code of this file.
Functions | |
NukeNS ($ns_no, $delete) | |
Variables | |
$ns = NS_MEDIAWIKI | |
$delete = false |
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.
Definition in file nukeNS.php.
NukeNS | ( | $ | ns_no, | |
$ | delete | |||
) |
Definition at line 41 of file nukeNS.php.
References $count, $dbw, $delete, $res, $row, $title, DeleteRevisions(), Title::newFromText(), PurgeRedundantText(), and wfGetDB().
$delete = false |
Definition at line 26 of file nukeNS.php.
Referenced by DeleteArchivedRevisions(), DeleteOldRevisions(), _DiffEngine::diff(), BrokenRedirectsPage::formatResult(), NukeNS(), NukePage(), and PurgeRedundantText().
$ns = NS_MEDIAWIKI |
Definition at line 25 of file nukeNS.php.