Manual:Configuration settings/ko

From MediaWiki.org
Jump to: navigation, search


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

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

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

일반 설정[edit | edit source]

경로[edit | edit source]

  • $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 | edit source]

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

이메일 설정[edit | edit source]

See Also User Access: $wgEmailConfirmToEdit

Email notification (Enotif) settings[edit | edit source]

  • $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

Database settings[edit | edit source]

LoadBalancer settings[edit | edit source]

MySQL specific[edit | edit source]

  • $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 | edit source]

  • $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 | edit source]

Shared DB settings[edit | edit source]

Sysop SQL queries[edit | edit source]

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

Warning Warning: Dangerous if not configured properly.

Compressed Storage Support[edit | edit source]

  • $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).

Localization[edit | edit source]

Timezone settings[edit | edit source]

Chinese-specific[edit | edit source]

Hindi/Arabic-specific[edit | edit source]

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

Debug/logging[edit | edit source]

Profiling[edit | edit source]

Site customization[edit | edit source]

Ajax[edit | edit source]

CSS/Js[edit | edit source]

Namespaces[edit | edit source]

Robot policies[edit | edit source]

Site Statistics[edit | edit source]

Skins[edit | edit source]

Category[edit | edit source]

Cache[edit | edit source]

Main article: Manual:Cache

See Interwiki for Interwiki cache settings.

Client side caching[edit | edit source]

File Cache[edit | edit source]

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 source]

Sidebar Cache[edit | edit source]

Parser Cache[edit | edit source]

Persistent Link Cache[edit | edit source]

Memcached settings[edit | edit source]

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

Interwiki[edit | edit source]

Interwiki cache[edit | edit source]

Access[edit | edit source]

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 management for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Rate limiter[edit | edit source]

API[edit | edit source]

  • $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 | edit source]

  • $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.

Reduction[edit | edit source]

Uploads[edit | edit source]

Uploads have to be specially set up to be secure.

Shared uploads[edit | edit source]

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

MIME types[edit | edit source]

Warning Warning: 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

Images[edit | edit source]

See also Manual:Configuring file uploads

DjVu[edit | edit source]

EXIF[edit | edit source]

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

ImageMagick[edit | edit source]

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

SVG[edit | edit source]

Thumbnail settings[edit | edit source]

Antivirus[edit | edit source]

Parser[edit | edit source]

HTML[edit | edit source]

  • $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?

TeX[edit | edit source]

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[edit | edit source]

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 | edit source]

Recent changes[edit | edit source]

See Special:Recentchanges

UDP updates[edit | edit source]

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

Users[edit | edit source]

Authentication[edit | edit source]

User Access[edit | edit source]

User agent[edit | edit source]

Cookies[edit | edit source]

Feed[edit | edit source]

  • $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.

Copyright[edit | edit source]

Search[edit | edit source]

Jobs[edit | edit source]

Proxies[edit | edit source]

Squid[edit | edit source]

HTCP multicast purging[edit | edit source]

Extensions[edit | edit source]

Maintenance Scripts setting[edit | edit source]

Miscellaneous settings[edit | edit source]

언어: English  • dansk • Deutsch • español • français • Bahasa Indonesia • 日本語 • 한국어 • polski • português do Brasil • русский • 中文 • 中文(繁體)‎