Manual:Configuration settings/id

From MediaWiki.org
Jump to: navigation, search

Ini adalah indeks semua opsi konfigurasi yang didukung berdasarkan berkas DefaultSettings.php.

Jangan pernah menyunting langsung DefaultSettings.php; salin baris yang sesuai ke LocalSettings.php dan ubah yang diperlukan.

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

§Umum[edit | edit source]

  • $wgProto - The secure server prefix.
  • $wgServer - The base URL of the server.
  • $wgServerName (deprecated) - The name of the server without the protocol. (eg, en.wikipedia.org)
  • $wgSitename - The name of the site. Should be changed
  • $wgVersion - Contains the current version of MediaWiki, as displayed to the user.

§Jalur[edit | edit source]

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

§Objek global[edit | edit source]

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

§Surel[edit | edit source]

See Also User Access: $wgEmailConfirmToEdit

§Notifikasi surel (Enotif)[edit | edit source]

Actual notifications for each users are defined in the options. You can change defaults with $wgDefaultUserOptions.
  • $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

§Basis data[edit | edit source]

§LoadBalancer[edit | edit source]

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

§Basis data bersama[edit | edit source]

§Simpanan terkompresi[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).

§Pelokalan[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/log[edit | edit source]

§Pemprofilan[edit | edit source]

§Kustomisasi situs[edit | edit source]

§Ajax[edit | edit source]

§CSS/Js[edit | edit source]

§Resource loader[edit | edit source]

§Ruang nama[edit | edit source]

§Keluaran[edit | edit source]

The following settings are only used if $wgHtml5 is set to "false":

§Kebijakan bot[edit | edit source]

§Statistik situs[edit | edit source]

§Kulit[edit | edit source]

§Kategori[edit | edit source]

§Singgahan[edit | edit source]

Main article: Manual:Cache

See Interwiki for Interwiki cache settings.

§Singgahan sisi klien[edit | edit source]

§Singgahan berkas[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.

§Singgahan pesan[edit | edit source]

§Singgahan bilah sisi[edit | edit source]

§Singgahan parser[edit | edit source]

§Singgahan tautan persisten[edit | edit source]

§Memcached[edit | edit source]

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

§Antarwiki[edit | edit source]

§Singgahan antarwiki[edit | edit source]

§Akses[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.

§Pembatas laju[edit | edit source]

§API[edit | edit source]

§Penguncian wiki[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.

§Reduksi[edit | edit source]

§Unggahan[edit | edit source]

Uploads have to be specially set up to be secure.

§Unggahan berbagi[edit | edit source]

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.

§Jenis MIME[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

§Berkas[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 Manual:Enable TeX, Manual:Math and the math/README in the MediaWiki source code.

§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.

§Laman istimewa[edit | edit source]

§Perubahan terbaru[edit | edit source]

See Special:Recentchanges

§Pembaruan UDP[edit | edit source]

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

§Pengguna[edit | edit source]

§Autentikasi[edit | edit source]

§Akses pengguna[edit | edit source]

§Agen pengguna[edit | edit source]

§Kuki[edit | edit source]

§Umpan[edit | edit source]

  • $wgFeed - Toggle syndication feeds on and off.
  • $wgAdvertisedFeedTypes - Which feed types should be provided by default.
  • $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.

§Hak cipta[edit | edit source]

§Pencarian[edit | edit source]

§Tugas[edit | edit source]

§Proksi[edit | edit source]

§Squid[edit | edit source]

§HTCP multicast purging[edit | edit source]

§Ekstensi[edit | edit source]

§Skrip pemeliharaan[edit | edit source]

§Lain-lain[edit | edit source]

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