Manual:Configuration settings/ko

Jump to navigation Jump to search
다른 언어:Project:Language policy English  • dansk • Deutsch • español • français • Bahasa Indonesia • 日本語 • 한국어 • polski • português do Brasil • русский • 中文

DefaultSettings.php에서 설정되어 있는 모든 변수들의 목록입니다.

DefaultSettings.php 파일을 절대로 직접 수정하지 마세요. 변수를 다른 값으로 설정하려면 LocalSettings.php 파일에 해당 코드를 추가하면 됩니다.

Listed alphabetically | Listed by function | Category:MediaWiki configuration settings

일반 설정[edit]


  • $IP - 미디어위키가 설치되어 있는 폴더. DefaultSettings.php 내부에 설정되어 있지는 않습니다.
  • $wgActionPaths - 다양한 사용자 활동을 위한 경로. URL을 깔끔하게 정돈하려고 사용.
  • $wgAppleTouchIcon - 애플 휴대기기의 초기 화면을 북마크 등록할 때 사용하는 아이콘의 선택적 경로.
  • $wgArticlePath - 문서 링크를 만들기 위해 사용되는 URL 템플릿.
  • $wgDirectoryMode - 새로 생성된 디렉토리의 권한작업을 위한 기본값.
  • $wgDiff - GNU diff 프로그램 경로
  • $wgDiff3 - GNU diff3 프로그램 경로
  • $wgFavicon - 사이트 파비콘 파일 경로
  • $wgLogo - 사이트 로고 파일 경로
  • $wgPhpCli - PHP 실행 파일 이름. (php나 php5 등)
  • $wgRedirectScript - redirect.php URL 주소. 하위 호환성을 위해 필요할 수 있습니다.
  • $wgScript - index.php의 URL 주소
  • $wgScriptExtension - Extension to append to script names by default.
  • $wgScriptPath - The base URL path.
  • $wgSQLiteDataDirMode - Default directory mode for SQLite data directory on creation.
  • $wgStockPath (deprecated) - For stock images that come with MediaWiki.
  • $wgStyleSheetDirectory (deprecated) - The file system path of the directory containing the stylesheets.
  • $wgStyleSheetPath - The URL of the directory containing the stylesheets.
  • $wgTmpDirectory - The URL of the temporary directory.
  • $wgUsePathInfo - Whether to use 'pretty' URLs.
  • $wgVariantArticlePath - Used for links when having language's variants.

See also TeX for LaTeX specific path settings.
See also Uploads for file/image upload path settings.
See also Skins for skins path settings.

Global Objects[edit]

  • $wgConf - Create a site configuration object. Not used for much in a default install.

이메일 설정[edit]

See Also User Access: $wgEmailConfirmToEdit

Email notification (Enotif) settings[edit]

  • $wgEnotifFromEditor - Email notifications appear to be coming from the page editor (not from Wiki server)
  • $wgEnotifImpersonal - Send a generic mail instead of a personalised mail for each user.
  • $wgEnotifMaxRecips - Maximum number of users to mail at once when using impersonal mail.
  • $wgEnotifMinorEdits - Email notifications also for "minor edits" (user preference is shown and user needs to opt-in)
  • $wgEnotifRevealEditorAddress - reply-to address of Email notifications may be filled with page editor's address (user preference is shown and user needs to opt-in)
  • $wgEnotifUseJobQ - Send mails via the job queue.
  • $wgEnotifUseRealName - Use real name instead of username in e-mail "from" field
  • $wgEnotifUserTalk - Email notifications can be sent for first change on a user_talk page (user preference is shown and user needs to opt-in)
  • $wgEnotifWatchlist - Email notifications can be sent for the first change on watched pages (user preference is shown and user needs to opt-in)
  • $wgUsersNotifiedOnAllChanges (formerly $wgUsersNotifedOnAllChanges!) - Array of usernames who will be sent a notification email for every change which occurs on a wiki

데이터베이스 설정[edit]

LoadBalancer settings[edit]

MySQL specific[edit]

  • $wgDBminWordLen (deprecated) - Used to discard words that MySQL will not return any results for shorter values configure mysql directly.
  • $wgDBmysql4 (deprecated) - Set to true to use enhanced fulltext search.
  • $wgDBmysql5 - Set to true to set MySQL connection into UTF-8 encoding
  • $wgDBTableOptions - MySQL table options to use during installation or update.
  • $wgDBtransactions - Set to true if using InnoDB tables.
  • $wgExternalServers - An array of external MySQL servers.

PostgreSQL specific[edit]

  • $wgDBmwschema - Schema that Postgres stores the MediaWiki tables in. Defaults to 'mediawiki'
  • $wgDBts2schema - Schema that the Tsearch2 tables live in for Postgres. Defaults to 'public'

SQLite specific[edit]

Shared DB settings[edit]

Sysop SQL queries[edit]

These settings are for sysops to make queries through Extension:Asksql.

경고 경고: Dangerous if not configured properly.

Compressed Storage Support[edit]

  • $wgCompressRevisions - If this is set on, all future revisions will be compressed on page save, but only if zlib support is available and enabled in PHP.
  • $wgDisableOutputCompression - Disable output compression (compression is enabled by default if zlib is available).


시간대 설정[edit]



  • $wgTranslateNumerals - For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.



Site customization[edit]




Robot policies[edit]

Site Statistics[edit]




Main article: Manual:Cache

See Interwiki for Interwiki cache settings.

Client side caching[edit]

파일 캐시[edit]

Setting for Server side file caching

  • $wgFileCacheDirectory - Directory where the cached page will be saved when using server-side caching.
  • $wgUseFileCache - This will cache static pages for non-logged-in users to reduce database traffic on public sites.

Message Cache[edit]

사이드바 캐시[edit]

함수 캐시[edit]

Persistent Link Cache[edit]

Memcached settings[edit]

Settings for configuring the Memcached memory-based object store (if you are using it) docs/memcached.txt has more details.


인터위키 캐시[edit]


Wiki locking, blocking/banning, and some other related settings.

See Manual:Preventing access for more methods and settings concerning access. See also Manual:User rights for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Rate limiter[edit]


  • $wgEnableAPI - Enable direct access to the data API through api.php.
  • $wgEnableWriteAPI - Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised user accesses it.
  • $wgCrossSiteAJAXdomains - Allow the API to be accessed by cross domain AJAX from specified domains
  • $wgCrossSiteAJAXdomainsRegex - Treat $wgCrossSiteAJAXdomains as regular expressions instead of strings.

Wiki locking[edit]

  • $wgReadOnly - Disallows editing, displaying the string given as the reason.
  • $wgReadOnlyFile - If this file is found, the database is locked for the reason given in the contents of the file.



Uploads have to be specially set up to be secure.

Shared uploads[edit]

These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting.

MIME types[edit]

경고 경고: This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!

See also Manual:Mime type detection


See also Manual:Configuring file uploads



  • $wgShowEXIF - Determines whether EXIF metadata is to be displayed. Set to false for not showing data.


Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.


Thumbnail settings[edit]




  • $wgMakeDumpLinks (deprecated) - Produce hashed HTML article paths.
  • $wgRawHtml - Allow raw, unchecked HTML in <html>...</html> sections.
  • $wgUserHtml (deprecated) - Allow limited user-specified HTML in wiki pages?


To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package and have latex, dvips, gs (ghostscript), and convert (ImageMagick) installed and available in the PATH. Please see math/README for more information.

  • $wgMathDirectory - The file system path of the directory containing LaTeX math images.
  • $wgMathPath - The URL base of the directory containing LaTeX math images.
  • $wgTexvc - Location of the texvc binary.
  • $wgUseTeX - Enables the use of <math> (TeX) tags.


Tidy is an open source tool that cleans up broken HTML. You can use this to ensure that broken HTML in articles doesn't affect the layout of your wiki.

  • $wgAlwaysUseTidy
  • $wgDebugTidy - Put tidy warnings in HTML comments, only works for internal tidy.
  • $wgTidyBin - Should be set to the path of the tidy binary.
  • $wgTidyConf - Should be set to the path of the tidy configuration file.
  • $wgTidyInternal - Controls the use of the PECL extension to use an inprocess tidy library instead of spawning a separate program.
  • $wgTidyOpts - Options passed to tidy on the command line.
  • $wgUseTidy - Use tidy to make sure HTML output is sane.
  • $wgValidateAllHtml - Validate the overall output using tidy and refuse to display the page if it's not valid.

See also Manual:Build Tidy from source.

Special pages[edit]

Recent changes[edit]

See Special:Recentchanges

UDP updates[edit]

Send RC updates via UDP. See: Manual:Simple IRC RC Bot



User Access[edit]

User agent[edit]



  • $wgFeed - Toggle syndication feeds on and off.
  • $wgFeedCacheTimeout - 'Minimum' timeout for cached Recentchanges feed, in seconds.
  • $wgFeedDiffCutoff - When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this size.
  • $wgFeedLimit - Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges, Newpages.
  • $wgOverrideSiteFeed - Override the site's default rss/atom feed that appears on every page.






HTCP multicast purging[edit]


Maintenance Scripts setting[edit]

Miscellaneous settings[edit]

다른 언어:Project:Language policy English  • dansk • Deutsch • español • français • Bahasa Indonesia • 日本語 • 한국어 • polski • português do Brasil • русский • 中文