Manual:Update.php/ko

상세
update.php는 현재 버전의 미디어위키를 구동하기 위해 미디어위키 데이터베이스 스키마를 업데이트해야 하는지에 대한 여부를 확인합니다. 미디어위키를 업그레이드하거나 스키마 업데이트가 필요한 확장 기능을 설치한 후에 를 실행하여야 합니다. 스키마 업데이트가 필요한 확장 기능들은 대부분 문서에 업데이트 여부를 언급합니다.



브라우저에서
서버의 명령줄에 접근할 권한이 없는 경우, 웹 업데이터를 사용하여 업데이트 스크립트를 실행시킬 수 있습니다.


 * &rarr; 웹 업데이터



명령줄에서
명령줄, 혹은 SSH 쉘, 혹은 비슷한 경우:

$ php update.php
 * 폴더로 이동합니다
 * 업데이트 스크립트를 실행합니다:

 $ mwscript update.php

Parameters
This script offers several parameters (generic, script dependent and script specific) which may be required in some wiki environments.

Generic maintenance parameters

 * used to get a prompt of all available script parameters (generic, script dependent and script specific) together with short explanations of their usage. These are less often used parameters.
 * used to get a prompt of all available script parameters (generic, script dependent and script specific) together with short explanations of their usage. These are less often used parameters.


 * update wiki family if database name depends on virtual host, where wikiId - database name (e.g. enwiki, dewiki ...)
 * update wiki family if database name depends on virtual host, where wikiId - database name (e.g. enwiki, dewiki ...)

Script specific parameters

 * skip countdown sequence
 * skip countdown sequence


 * do not purge objectcache table. Normally  purges the  table (generally contains the parser cache and the messages cache),  and  (these are used for  message caching and are cleared in 1.21 and later) tables in the database, if you don't want to purge this table, use the   option.
 * do not purge objectcache table. Normally  purges the  table (generally contains the parser cache and the messages cache),  and  (these are used for  message caching and are cleared in 1.21 and later) tables in the database, if you don't want to purge this table, use the   option.


 * Update shared tables as well.
 * Update shared tables as well.


 * Run this script even if it is disabled by configuration options.
 * Run this script even if it is disabled by configuration options.


 * Specifies the config file (the LocalSettings.php file for the specific wiki). 위키 패밀리에 사용됩니다.
 * Specifies the config file (the LocalSettings.php file for the specific wiki). 위키 패밀리에 사용됩니다.


 * All changes to the table structure or table additions are skipped. Only data changes are made.
 * All changes to the table structure or table additions are skipped. Only data changes are made.


 * No schema changes are made to the database, but the schema changes are saved to a separate SQL file that can be run.
 * No schema changes are made to the database, but the schema changes are saved to a separate SQL file that can be run.


 * 호환성 검사 무시
 * 호환성 검사 무시


 * when using composer.local.json to let Composer install extensions and their dependencies, you may see an error message saying that there is a mismatch between the installed and required version (e.g. "mediawiki/semantic-breadcrumb-links: 1.3.0 installed, ~1.3 required"). You can use this parameter to ignore the message and run update.php regardless.
 * when using composer.local.json to let Composer install extensions and their dependencies, you may see an error message saying that there is a mismatch between the installed and required version (e.g. "mediawiki/semantic-breadcrumb-links: 1.3.0 installed, ~1.3 required"). You can use this parameter to ignore the message and run update.php regardless.

Extensions can install/update their schemas using hook.



같이 보기

 * and
 * For detailed instruction on using, see , Manual:Upgrading#Command_line