Jump to content

Manual:CleanupPreferences.php/ko

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

상세

cleanupPreferences.php file is a maintenance script to delete user preference values which are hidden by $wgHiddenPrefs , or those that are unknown (e.g. were added by a since-uninstalled extension).

It contains the DeleteUnknownPreferences hook.

옵션/인수

Option Description Required?
--dry-run Print debug info instead of actually deleting Optional
--hidden Drop hidden preferences ($wgHiddenPrefs) Optional
--unknown Drop unknown preferences (not in $wgDefaultUserOptions or prefixed with "userjs-") Optional


사용법

php maintenance/run.php cleanupPreferences [ --dry-run| --hidden| --unknown ]
Terminal
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

같이 보기