Jump to content

Manual:NukePage.php/ko

From mediawiki.org
This page is a translated version of the page Manual:NukePage.php and the translation is 25% complete.
미디어위키 버전:
1.6

상세

nukePage.php file is a maintenance script to erase a page record from the database irreversibly (you cannot use standard undelete functions to restore it).

The script does not update link tables, which means that links to and from that page will still be present in Special:WhatLinksHere queries, for example.

경고 경고: This script attempts to remove unused entries from the text table, which can cause potential data loss and is very slow for large wikis. In MediaWiki 1.45 or later, this step is skipped if $wgMiserMode is enabled.

옵션/인수

Option/Argument Description Required?
title pagetitle is the title of the page you want to delete. Include the namespace and use underscores instead of spaces. Required
--delete Use this option to actually delete the page. Otherwise it will just print out if the page was found or not, but won't perform any deletion. Optional


사용법

php maintenance/run.php nukePage pageTitle [ --delete ]
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Dry run to check deletion

Terminal

Making deletion action

Terminal

같이 보기