Podręcznik:$wgContentHandlerUseDB
Ta funkcja została całkowicie usunięta z jądra MediaWiki w wersji 1.35.0. |
Różne ustawienia: $wgContentHandlerUseDB | |
---|---|
Whether to use the database fields introduced by the ContentHandler facility |
|
Wprowadzono w wersji: | 1.21.0 |
Przestarzałe w wersji: | 1.34.0 (Gerrit change 535666; git #165d3cc5) |
Usunięto w wersji: | 1.35.0 (Gerrit change 589018; git #385ab887) |
Dozwolone wartości: | (wartość logiczna) |
Domyślna wartość: | true |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
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.