帮助:MediaWiki/设置/数据库

来自GIPRs
跳转至: 导航搜索
项目文档
项目主页 GIPRs语义维基
文档类型 日志
优先级
状 态 进行中
发布日期 2013/03/13
完成日期
作 者 GIPRs语义维基项目团队
来 源 www.giprs.org
源语言 中文

为方便查看和记录,参考并直接引用:http://www.mediawiki.org/wiki/Manual:Configuration_settings (待处理)

目录

Database settings

// 默认:false

// 弃用

  • $wgDBAvgStatusPoll - Time before the server get a SHOW STATUS query under overload conditions.

// 默认

LoadBalancer settings

  • $wgAlternateMaster {{deprecated-inline|1.13}} - A map of database name to connection index.

// 弃用

MySQL-specific

  • $wgDBmysql5 - Set to true to set MySQL connection into UTF-8 encoding
  • $wgDBTableOptions - MySQL table options to use during installation or update.
  • $wgDBtransactions {{deprecated-inline|1.20}} - Set to true if using InnoDB tables.

// 弃用

PostgreSQL-specific

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

Shared DB settings

Compressed Storage Support

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