Manual:Configuration settings/ru

This page is a translated version of the page Manual:Configuration settings and the translation is 0% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎español • ‎français • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語 • ‎한국어

This is an index of all supported configuration settings based on the DefaultSettings.php file.

Never edit DefaultSettings.php; copy appropriate lines to LocalSettings.php instead and amend them as appropriate.

If you can't find a configuration setting here, see if it is defined in DefaultSettings.php. The variable should have some documentation there.

Settings removed in versions of MediaWiki prior to 1.19 are no longer listed here. Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor).
Listed alphabetically | Listed by function | Категория:Параметры конфигурации MediaWiki

General Settings

  • $wgCanonicalServer – Канонический URL-адрес сервера, для использования в IRC-каналах, уведомлениях по электронной почте и т.д.
  • $wgServer – The base URL of the server.
  • $wgServerName – Имя сервера без протокольной части URL.
  • $wgSitename – The name of the site.
  • $wgVersion (устарело  в 1.35) – номер версии MediaWiki.

URLs and file paths

  • $IP – Полный путь к каталогу установки.
  • $wgActionPaths – Пути для разного рода пользовательских действий. Позволяют сокращать URL.
  • $wgAppleTouchIcon – Optional URL to an icon to use when bookmarking to the home screen on Apple handheld devices
  • $wgArticlePath – The base URL used to create article links.
  • $wgConfigRegistry – Регистр заводских функций для создания объектов конфигурации
  • $wgDiff – Путь для инструмента GNU diff.
  • $wgDiff3 – Path to the GNU diff3 utility.
  • $wgDirectoryMode – Default chmod permission value for newly created directories.
  • $wgFavicon – URL иконки сайта favicon.
  • $wgGitBin – Path to the git binary.
  • $wgGitInfoCacheDirectory – Directory where GitInfo will look for pre-computed cache files.
  • $wgLoadScript – The URL path to load.php.
  • $wgLogos – URL-путь к различным логотипам вики.
  • $wgLogo – URL логотипа сайта.
  • $wgLogoHD (устарело  в 1.35) – URL-адреса для HD-версий логотипа сайта.
  • $wgPhpCli – Исполняемое имя команды php-cli (php/php5).
  • $wgRedirectScript (удалено  в 1.22) – The URL of redirect.php.
  • $wgRestPath – The URL path to rest.php.
  • $wgScript – URL адрес index.php.
  • $wgScriptExtension (удалено  в 1.27) – Extension to append to script names by default.
  • $wgScriptPath – The base URL path.
  • $wgSitesCacheFile (удалено  в 1.33) – Specify the file location for the site's JSON cache file.
  • $wgStyleSheetPath (устарело  в 1.3) – Do not set $wgStyleSheetPath. Use $wgStylePath instead.
  • $wgTmpDirectory – The path of the temporary directory.
  • $wgUsePathInfo – Стоит ли использовать 'красивые' URL-адреса.
  • $wgVariantArticlePath – Used for links when having language's variants.

See also Uploads for file/image upload path settings.

See also Skins for skins path settings.

Global Objects

Email settings

See also User Access: $wgEmailConfirmToEdit

  • $wgAdditionalMailParams – Additional email parameters, will be passed as the last argument to mail() PHP function call.
  • $wgAllowHTMLEmail – Установка значения 'true' разрешит включать HTML в e-mail.
  • $wgEmailAuthentication – Установите true для включении аутентификации (подтверждения) для этой вики. За исключением писем с напоминанием пароля, функции электронной почты работают только для аутентифицированных адресов электронной почты.
  • $wgEmergencyContact – Site admin email address
  • $wgEnableEmail – Set to true to enable basic email features.
  • $wgEnableSpecialMute (устарело  в 1.34) – Set to true to enable the Special Mute page.
  • $wgEnableUserEmail – Установка значения 'true' разрешит участникам отправлять e-mail друг другу через $sp.
  • $wgEnableUserEmailBlacklist – Set to true to enable user-to-user email blacklist.
  • $wgNoReplyAddress – Reply-to address for automatically generated emails.
  • $wgPasswordReminderResendTime – Минимальное время, в часах, которое должно пройти между использованием функции напоминания пароля.
  • $wgPasswordSender – Password reminder email address.
  • $wgPasswordSenderName (удалено  в 1.23) – Password reminder ($wgPasswordSender ) name.
  • $wgRequirePasswordforEmailChange (удалено  в 1.27) – Whether the user must enter their password to change their email address
  • $wgSMTP – For using a direct (authenticated) SMTP server connection.
  • $wgSysopEmailBans (удалено  в 1.34) – Позволяет администраторам блокировать доступ участников к функции Special:Emailuser.
  • $wgUserEmailConfirmationTokenExpiry – The time, in seconds, after which a email address confirmation token expires.
  • $wgUserEmailUseReplyTo – Set to true to put the sending user's email in a Reply-To header instead of From.

Email notification (Enotif) settings

Actual notifications for each user are defined in the options. You can change defaults with $wgDefaultUserOptions .
  • $wgEnotifFromEditor – Whether to make email notifications appear to come from the user who makes the edit
  • $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 – Установить значение 'true' для получения уведомлений для правок, отмеченных как «малые»
  • $wgEnotifRevealEditorAddress – Set to true to insert the page editor's email address into the email notifications Reply-To address
  • $wgEnotifUseJobQ (удалено  в 1.27) – Send mails via the job queue.
  • $wgEnotifUseRealName – Использовать настоящее имя вместо имени участника в поле «from» при отправлении почты.
  • $wgEnotifUserTalk – Enable email notifications for edits on users' talk pages.
  • $wgEnotifWatchlist – Set to true to allow the email notification for watched pages
  • $wgUseEnotif – Overall "use Enotif" setting
  • $wgUsersNotifiedOnAllChanges – Array of usernames who will be sent a notification email for every change which occurs on a wiki.

Database settings

LoadBalancer settings

MSSQL-specific

MySQL-specific

  • $wgDBmysql4 (удалено  в 1.19) – Set to true to use enhanced fulltext search.
  • $wgDBmysql5 (удалено  в 1.33) – Set to true to set MySQL connection into UTF-8 encoding (experimental)
  • $wgDBTableOptions – MySQL table options to use during installation or update.
  • $wgDBtransactions (удалено  в 1.20) – Set to true if using InnoDB tables.
  • $wgExternalServers – An array of external MySQL servers.
  • $wgSQLMode – Value for the MySQL sql_mode parameter

Oracle-specific

  • $wgDBOracleDRCP (удалено  в 1.34) – When set to true, enables persistent connection with DRCP on Oracle.

PostgreSQL-specific

  • $wgDBport – Порт базы данных. Изпользуется только вариацией PostgreSQL.

SQLite-specific

Shared DB settings

Compressed Storage Support

  • $wgCompressRevisions – Сжатие новых редакций страниц, если это возможно
  • $wgDisableOutputCompression – Отключить сжатие вывода (сжатие включено по умолчанию, если доступен zlib).

Migration

Extension fields

Localization

  • $wgBetterDirectionality (удалено  в 1.23) – Better directionality support.
  • $wgBug34832TransitionalRollback (удалено  в 1.21) – Rollback a few bugs (features) related to language variant conversion introduced in 1.19
  • $wgDisabledVariants – Disabled variants for language variant conversion.
  • $wgDisableLangConversion – Whether to enable language variant conversion.
  • $wgDisableTitleConversion – Whether to enable language variant conversion for links.
  • $wgDummyLanguageCodes (устарело  в 1.29) – List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
  • $wgEditEncoding (удалено  в 1.28) – Characters not explicitly converted by output encoding
  • $wgExtraLanguageCodes – List of mappings from one language code to another
  • $wgForceUIMsgAsContentMsg – Перечисляет UI messages которые указывают на файлы, содержащие локализованные URL-ссылки
  • $wgInterwikiMagic – Treat language links as magic connectors, not inline links.
  • $wgLangObjCacheSize – Language cache size, or really how many languages can we handle simultaneously without degrading to crawl speed.
  • $wgLanguageCode – Site language code.
  • $wgLegacyEncoding – Set this to the character set, which you used before you updated to MediaWiki 1.5 (eg 'ISO-8859-1'). MediaWiki will then perform a temporary character set conversion when loading old revisions, which are not marked with "utf-8" flag (revisions created with MediaWiki 1.4 and earlier).
  • $wgMsgCacheExpiry (удалено  в 1.34) – When a message in cache expires (in seconds).
  • $wgOverrideUcfirstCharacters – List of Unicode characters for which capitalization is overridden in Language::ucfirst.
  • $wgRawHtmlMessages – List of messages which might contain raw HTML.
  • $wgUseDatabaseMessages – Translation using MediaWiki: namespace.
  • $wgUseDynamicDates (удалено  в 1.21) – Enable to allow rewriting dates in page text.
  • $wgUserFallbackLanguages – maximum number of fallback languages per user

Timezone settings

Language-specific

English
  • $wgAmericanDates – Использовать 'mdy' вместо 'dmy' как формат даты по умолчанию. Например 'May 12' вместо '12 May'.
Arabic/Hindi
  • $wgTranslateNumerals – For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.

Debug/logging

See also: Руководство:Как отлаживать

Profiling

  • $wgDebugFunctionEntry (удалено  в 1.25) – Следует ли дополнительно выводить сообщение отладки при каждом вызове wfProfileIn() и wfProfileOut().
  • $wgDebugProfiling (удалено  в 1.23) – Detects non-matching wfProfileIn/wfProfileOut calls
  • $wgEnableProfileInfo (удалено  в 1.35) – Controls the availability of profileinfo.php.
  • $wgProfiler – Settings related to profiling.
  • $wgProfileCallTree (удалено  в 1.27) – If true, print a raw call tree instead of per-function report
  • $wgProfileLimit (устарело  в 1.25) – Only record profiling info for pages that took longer than this number of seconds to load. this
  • $wgProfileOnly (устарело  в 1.23) – Don't put non-profiling info into log file
  • $wgProfilePerHost (удалено  в 1.27) – Should the application server hostname be stored in the profiling table?
  • $wgProfileToDatabase (удалено  в 1.23) – Log sums from profiling into "profiling" table in db.
  • $wgUDPProfilerHost (удалено  в 1.27) – Host for UDP profiler.
  • $wgUDPProfilerPort (удалено  в 1.27) – Port for UDP profiler.
  • $wgUDPProfilerFormatString (удалено  в 1.27) – Format string for UDP profiler.

Site customization

Ajax

Frontend

ResourceLoader

See ResourceLoader for more information.

Namespaces

Output

  • $wgAllowMicrodataAttributes (удалено  в 1.27) – Включает атрибуты микроданных HTML5 для использования в викитексте.
  • $wgAllowRdfaAttributes (удалено  в 1.27) – Включает атрибуты RDFa для использования в викитексте.
  • $wgCleanupPresentationalAttributes (удалено  в 1.20.1) – Put as much as possible presentational HTML attributes in CSS.
  • $wgEnableTooltipsAndAccesskeys (удалено  в 1.19) – Whether to enable application of access keys and tooltips
  • $wgHtml5 (удалено  в 1.34) – Whether to output an HTML 5 doctype.
  • $wgHtml5Version – Определяет значение версии атрибута в теге <html>, если таковое имеется.
  • $wgWellFormedXml (удалено  в 1.27) – Whether to try to make our HTML output well-formed XML.
  • $wgMimeType – The type to send in the Content-Type header.
  • $wgMangleFlashPolicy – Whether to mangle any <cross-domain-policy> (Adobe cross-domain policy) tags, to prevent XSS attacks.
  • $wgSend404Code – Send 404 HTTP status for not found pages.
  • $wgEnableCanonicalServerLink – Output a <link rel="canonical"> tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer.
  • $wgUseMediaWikiUIEverywhere – Applies MediaWiki UI wherever it can be supported.
  • $wgHTMLFormAllowTableFormat – Allow form components to render tables.
  • $wgXhtmlNamespaces – Разрешить другие пространства имен в дополнение к w3.org по умолчанию.

The following settings are only used if $wgHtml5 is set to "false" (удалено  в 1.22):

  • $wgDocType (удалено  в 1.22) – The doc type to use in the <!DOCTYPE> declaration.
  • $wgDTD (удалено  в 1.22) – Определяет настройки DTD в теге DOCTYPE для вывода исходной страницы.
  • $wgXhtmlDefaultNamespace (удалено  в 1.34) – Namespace to use when outputting in XHTML mode.

Robot policies

Mobile support

Content Security Policy

Feature Policy

ContentHandler

Site Statistics

Skins

  • $wgDefaultSkin – Тема оформления по умолчанию для новых пользователей.
  • $wgFallbackSkin – Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
  • $wgFooterIcons – Abstract list of footer icons for skins. It replaces the old copyrightico and poweredbyico code, which until MediaWiki 1.27 could be influenced with $wgCopyrightIcon
  • $wgLocalStylePath – Также известна под названием $wgStylePath , но не использует внешний домен.
  • $wgSkipSkin (удалено  в 1.35) – Specify the name of a skin that should not be presented in the list of available skins.
  • $wgSkipSkins – Specify the name of skins that should not be presented in the list of available skins.
  • $wgStyleDirectory – The file system path to the skins directory.
  • $wgStylePath – The URL of the skins directory.
  • $wgUseCombinedLoginLink – Login / create account link behavior when it's possible for anonymous users to create an account.
  • $wgValidSkinNames – List of valid skin names. Skins can optionally use this variable to tell MediaWiki that they are available.
  • $wgVectorUseSimpleSearch – Search form behavior for Vector skin only.
  • $wgVectorUseIconWatch – Watch and unwatch as a star icon rather than a link (for Vector skin only).
  • $wgVectorShowVariantName (удалено  в 1.19) – Show the name of the current variant as a label in the variants drop-down menu.

Category

Cache

See: Interwiki for Interwiki cache settings.

Client side caching

  • $wgCachePages – Разрешить кэширование страниц на стороне клиента

File Cache

Settings for Server side file caching.

Message Cache

Sidebar Cache

Parser Cache

Memcached settings

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

WAN cache

Interwiki

Interwiki cache

See interwiki cache for more information.

Access

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

See Manual:Preventing access for more methods and settings concerning access. See also Руководство:Права пользователя for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Rate limiter

  • $wgRateLimitLog (удалено  в 1.27) – Set to a filename to log rate limiter hits.
  • $wgRateLimits – Simple rate limiter options to brake edit floods.
  • $wgRateLimitsExcludedIPs – Массив IP-адресов/CIDR-диапазонов, которые не подпадают под ограничения скорости.

API

  • $wgDebugAPI – Loosens API security to allow for easier debugging
  • $wgEnableAPI (удалено  в 1.32) – Включить прямой доступ к информации API через api.php .
  • $wgEnableWriteAPI (удалено  в 1.32) – Позволяет использовать API для выполнения операций записи (правка страниц, быстрый откат и т.п.) авторизованными пользователями с доступом к этому.
  • $wgEnableRestAPI – Enable the experimental REST API.
  • $wgCrossSiteAJAXdomains – Domains that may make cross-site Ajax requests to the MediaWiki API.
  • $wgCrossSiteAJAXdomainExceptions – Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by $wgCrossSiteAJAXdomains .
  • $wgAPICacheHelpTimeout – Set the timeout for the API help text cache. Set to 0 to disable caching of API help text.
  • $wgApiFrameOptions – Control framing of api pages.
  • $wgAPIGeneratorModules (удалено  в 1.21) – This setting is ignored
  • $wgAPIMaxLagThreshold – Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any write requests via API errors.
  • $wgAPIRequestLog – Файл журнала или URL (TCP или UDP) для журналирования запросов к API.
  • $wgAPIUselessQueryPages – The ApiQueryQueryPages module should skip pages that are redundant to true API queries.

Wiki locking

  • $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.
  • $wgReadOnlyWatchedItemStore – Set this to true to put the wiki watchlists into read-only mode.

Reduction

  • $wgAPIMaxDBRows – Maximum number of rows to scan in API database queries.
  • $wgAPIMaxResultSize – Максимальный размер (в байтах) ответа API.
  • $wgAPIMaxUncachedDiffs – The maximum number of uncached diffs that can be retrieved in one API request.
  • $wgQueryPages – List of Special pages that inherit from QueryPage, that should also be taken in account by the updateSpecialPages.php maintenance script.
  • $wgDisableQueryPages – Отключает все запросы страницы если включен miser mode, а не только некоторые из них.
  • $wgDisableQueryPageUpdate – Array of special pages that should not be updated.
  • $wgDisableSearchUpdate – If you've disabled search semi-permanently, this also disables updates to the table.
  • $wgDisableTextSearch – Disable full-text search.
  • $wgEdititis Отображать счетчик правок в различных видимых местах.
  • $wgFixDoubleRedirects – Автоматическое исправление двойных перенаправлений при переименовании страниц.
  • $wgInvalidRedirectTargets – Массив неверных целей перенаправлений.
  • $wgMaximumMovedPages – Максимальное число страниц, которое может быть переименовано при переименовании подстраниц.
  • $wgMiserMode – Enable/disable database-intensive features
  • $wgShowHostnames – If set to true, exposes host names through API and HTML comments.
  • $wgShowRollbackEditCount – Maximum number to count when a rollback link is shown
  • $wgUseDumbLinkUpdate (удалено  в 1.22) – Do DELETE/INSERT for link updates instead of incremental.

Uploads

Uploads have to be specially set up to be secure.

Shared uploads

These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting, or $wgUseInstantCommons if you only need read access to images on Commons.

MIME types

  Внимание: 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

See also: Руководство:Настройка загрузки файлов

DjVu

EXIF

  • $wgShowEXIF – Show EXIF data at the end of file description pages.
  • $wgUpdateCompatibleMetadata – Whether to automatically update the img_metadata field if it is outdated but compatible with the current version.

ImageMagick

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

SVG

Thumbnail settings

Antivirus

  • $wgAntivirus – Внутреннее имя антивирусного сканера.
  • $wgAntivirusRequired – Определяет, что в случае неудачной проверки на вирусы загрузка файла будет отклонена.
  • $wgAntivirusSetup – Configuration for different virus scanners.

Parser

HTML

  • $wgRawHtml – Разрешить необработанный, непроверенный HTML в тегах <html>...</html>

Tidy

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. While Tidy itself is going to be replaced, the configuration settings can still be used for the replacements.

  • $wgTidyConfig – Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.
  • $wgAlwaysUseTidy (удалено  в 1.26) – Always use Tidy
  • $wgDebugTidy (удалено  в 1.33) – Put tidy warnings in HTML comments, only works for internal tidy.
  • $wgTidyBin (удалено  в 1.33) – Should be set to the path of the tidy binary.
  • $wgTidyConf (удалено  в 1.33) – Should be set to the path of the tidy configuration file.
  • $wgTidyInternal (удалено  в 1.33) – Controls the use of the tidy extension to use an in-process tidy library instead of spawning a separate program.
  • $wgTidyOpts (удалено  в 1.33) – Options passed to tidy on the command line.
  • $wgUseTidy (удалено  в 1.33) – Use tidy to make sure HTML output is sane.
  • $wgValidateAllHtml (удалено  в 1.31) – 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

Recent changes

See also Справка:Свежие правки and $wgDefaultUserOptions

UDP updates

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

  • $wgRCEngines – Configuration for RC feed protocol engines
  • $wgRCFeeds – Configuration for sending RC updates
  • $wgRC2UDPAddress (удалено  в 1.24) – Address used when sending RC updates via UDP.
  • $wgRC2UDPInterwikiPrefix (удалено  в 1.24) – Whether to prefixes the page name used in the RC feed.
  • $wgRC2UDPOmitBots (удалено  в 1.24) – Omit bot edits from UDP output
  • $wgRC2UDPPort (удалено  в 1.24) – Port used when sending RC updates via UDP.
  • $wgRC2UDPPrefix (удалено  в 1.24) – Prefix used when sending RC updates via UDP.

Users

  • $wgActiveUserDays – The number of days within which a person must make edits to be considered an "active" user
  • $wgAutoConfirmAge – Количество секунд с момента регистрации, требуемых для получения аккаунтом флага 'autoconfirmed'.
  • $wgAutoConfirmCount – Требуемое число правок для получения аккаунтом флага 'autconfirmed'.
  • $wgAllowUserCssPrefs – Allow user preferences implemented in CSS.
  • $wgAllowRealName (удалено  в 1.21) – Whether or not to allow real name fields.
  • $wgDefaultUserOptions – Default user preferences.
  • $wgDisableAnonTalk – Disable talk pages for anonymous users (not logged in).
  • $wgHiddenPrefs – Отключает указанные настройки участников.
  • $wgHKDFAlgorithm – Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
  • $wgHKDFSecret – Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
  • $wgInvalidUsernameCharacters – Characters to prevent during new account creations.
  • $wgMaximalPasswordLength (устарело  в 1.26) – Specifies the maximal length of a user password.
  • $wgMaxNameChars – Максимальное количество байтов в имени участника.
  • $wgMaxSigChars – Максимальная длина собственной подписи.
  • $wgMinimalPasswordLength (устарело  в 1.26) – Указывает минимальную длину пароля участника.
  • $wgNewUserLog – Включить журнал регистрации новых участников (Special:Log/newusers).
  • $wgPasswordExpirationDays – The number of days that a user's password is good for.
  • $wgPasswordExpireGrace – The number of seconds after a user's password expires during which they can log in without a password change.
  • $wgPasswordPolicy – Specifies various settings related to password strength and security.
  • $wgReservedUsernames – List of account names that cannot exist.
  • $wgShowIPinHeader (удалено  в 1.27) – Показывать IP на пользовательской панели для анонимных участников.
  • $wgUserrightsInterwikiDelimiter – Символ, используемый в качестве разделителя между именем пользователя и именем базы данных на Special:UserRights.

Authentication

User Access

  • $wgAddGroups – Управление, какие группы можно добавить при помощи Special:Userrights.
  • $wgAutoblockExpiry – Количество секунд действия автоблокировки
  • $wgBlockAllowsUTEdit – Разрешить блокированным участникам редактировать собственные страницы обсуждения
  • $wgDeleteRevisionsBatchSize – Page deletions with > this number of revisions will use the job queue.
  • $wgDisableUserGroupExpiry (удалено  в 1.29) – Whether to disable user group expiry.
  • $wgEmailConfirmToEdit – Участникам необходимо подтвердить свой email адрес перед редактированием, включается значением 'true'.
  • $wgGrantPermissions – Used to define grants and assign permissions to them.
  • $wgGrantPermissionGroups – Used to define grant groups and assign grants to them.
  • $wgGroupPermissions – Использовать это для установки прав доступа для групп и участников.
  • $wgGroupsAddToSelf – Use this to allow users to add themselves to specified groups via Special:Userrights.
  • $wgGroupsRemoveFromSelf – Позволяет участникам удалять себя из указанных групп при помощи Special:Userrights.
  • $wgHideUserContribLimit – The maximum number of edits a user can have and can still be hidden by users with the hideuser permission.
  • $wgImplicitGroups – Группы, не отображаемые на Special:ListUsers или где-нибудь еще
  • $wgRemoveGroups – Управление, из каких групп можно удалить при помощи Special:Userrights.
  • $wgRevokePermissions – Ключи доступа отозваны у пользователей в каждой группе.
  • $wgWhitelistRead – Pages anonymous user may see.
  • $wgWhitelistReadRegexp – Whitelists publicly readable titles with regular expressions.

User agent

  • $wgBrowserBlackList (устарело  в 1.30) – Черный список браузеров, не поддерживающих Unicode.

Cookies

  • $wgCacheVaryCookies – Список cookie, которые изменяют кеш.
  • $wgCookieDomain – Явный домен в файлах cookie для входа в систему.
  • $wgCookieExpiration – Количество секунд до истечения срока действия файлов cookie HTTP. Вы можете переопределить это для «держать меня в системе» куки с $wgExtendedLoginCookieExpiration
  • $wgCookieHttpOnly – Set the httpOnly flag on all cookies set by MediaWiki (to prevent access from JavaScript).
  • $wgCookiePath – Explicitly declared "path" for cookies at the cookie domain
  • $wgCookiePrefix – Custom cookie prefix.
  • $wgCookieSecure – Whether cookies are secured.
  • $wgDisableCookieCheck – Disables session cookies
  • $wgExtendedLoginCookieExpiration – Если не ноль, длительность в секундах, чтобы использовать для сессий "Оставаться в системе"; 0 означает, что пока браузер не будет закрыт. Если ноль, используется $wgCookieExpiration
  • $wgHttpOnlyBlacklist (удалено  в 1.23) – Чёрный список User-agent'ов для режима HttpOnly.
  • $wgSessionHandler (удалено  в 1.33) – Used to set PHP's session.save_handler.
  • $wgSessionName – Override to customize the session name.

Feed

  • $wgFeed – Включить или выключить ведение трансляций (например, RSS и Atom в свежих правках, новых страницах).
  • $wgAdvertisedFeedTypes – Feed types that should be provided by default.
  • $wgFeedCacheTimeout – Minimum timeout for cached Recentchanges feed, in seconds.
  • $wgFeedClasses – Available feeds objects.
  • $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

Search

HTTP client

Jobs

Proxies

CDN / Squid

These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.

  • $wgEventRelayerConfig – Mapping of event channels (or channel categories) to EventRelayer configuration.
  • $wgInternalServer – Internal server name as known to Squid, if different than $wgServer .
  • $wgMaxSquidPurgeTitles (удалено  в 1.27) – Maximum number of titles to purge in any one client operation
  • $wgSquidPurgeUseHostHeader (устарело  в 1.33) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidMaxage (удалено  в 1.35) – Cache timeout for the squid.
  • $wgCdnMaxAge – Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
  • $wgCdnMaxageLagged – Cache timeout for the CDN when DB replica lag is high
  • $wgCdnMaxageSubstitute – Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
  • $wgCdnReboundPurgeDelay – Secondary delayed purges of URLs
  • $wgSquidServers (удалено  в 1.35) – An array of individual proxy servers to help MediaWiki detect if the request has been proxyed.
    But also to send back to the proxy PURGE commands on changes.
  • $wgCdnServers – An array of individual proxy servers to help MediaWiki detect if the request has been proxyed.
    But also to send back to the proxy PURGE commands on changes.
  • $wgSquidServersNoPurge (удалено  в 1.35) – Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgCdnServersNoPurge – Same as $wgCdnServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgLoggedOutMaxAge – Кэш TTL для агента пользователя, переданного в качестве максимального возраста, для зарегистрированных пользователей.
  • $wgUseESI (устарело  в 1.33) – If you run Squid3 with ESI support, enable this.
  • $wgUseSquid (удалено  в 1.35) – Включить/Отключить Squid.
  • $wgUseCdn – Включить/отключить кэширование просмотра страниц.
  • $wgUseKeyHeader (удалено  в 1.34) – Send the Key HTTP header for better caching.
  • $wgUseXVO (удалено  в 1.27) – Send X-Vary-Options header for better caching (requires patched Squid).
  • $wgVaryOnXFP – Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.

HTCP multicast purging

Extensions

Maintenance Scripts setting

Miscellaneous settings

See also