Manual:$wgContentHandlerUseDB

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgContentHandlerUseDB and the translation is 30% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
データベースの設定: $wgContentHandlerUseDB
Whether to use the database fields introduced by the ContentHandler facility
導入されたバージョン:1.21.0
除去されたバージョン:使用中
許容される値:(真偽値)
既定値:true
その他の設定: アルファベット順 | 機能順

詳細

Set to false to disable use of the database fields introduced by the ContentHandler facility. This way, the ContentHandler facility can be used without any additional information in the database. A page's content model is then derived solely from the page's title. This however means that changing a page's default model (e.g. using $wgNamespaceContentModels ) will break the page and/or make the content inaccessible. This also means that pages can not be moved to a title that would default to a different content model.

Overall, set to false, no database updates are needed, but content handling is less robust and less flexible.