Manual:$wgContentHandlerTextFallback/tr
From Linux Web Expert
<translate> Content Models and Handlers</translate> |
---|
<translate> MediaWiki allows for page content types other than wikitext.</translate> <translate> It offers built-in support for JavaScript, CSS, JSON and plain text.</translate> <translate> Extensions can use MediaWiki's ContentHandler mechanism to add new content models for accepting different formats and controlling how they are rendered, stored and edited.</translate> |
File:OOjs UI icon information.svg <translate> About</translate> |
File:Wrench font awesome.svg <translate> Usage</translate> |
|
File:OOjs UI icon advanced.svg <translate> Configuration settings</translate> |
<translate> Support and development</translate>
|
· <span style="" title="<translate nowrap> Edit this template</translate>"><translate> e</translate> |
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.42.0</tvar>.</translate> |
<translate> Content handlers and storage</translate>: $wgContentHandlerTextFallback | |
---|---|
ContentHandler::getContentText() kullanılarak metin olmayan bir Content nesnesi düz metin sürümü istenirse nasıl tepki verilir |
|
<translate> Introduced in version:</translate> | 1.21.0 |
<translate> Deprecated in version:</translate> | 1.37.0 (Gerrit change 691704; git #e34e93f2) |
<translate> Removed in version:</translate> | 1.42.0 (Gerrit change 993049; git #ba1563a0) |
<translate> Allowed values:</translate> | (izin verilen parametrelerden biri) |
<translate> Default value:</translate> | 'ignore' |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
İzin verilen parametreler
Değere bağlı olarak, Content bir TextContent nesnesi olmadığında aşağıdaki eylem gerçekleştirilir:
'ignore'
-ContentHandler::getContentText()
boş döndürür'fail'
- MWException oluşturun'serialize'
- Bir dize almak için Content nesneleriserialize
yöntemini kullanın
Categories:
- Pages with broken file links
- MediaWiki configuration settings/tr
- MediaWiki configuration settings introduced in version 1.21.0/tr
- MediaWiki configuration settings deprecated in version 1.37.0/tr
- MediaWiki configuration settings removed in version 1.42.0/tr
- MediaWiki deprecated or obsolete features/tr
- ContentHandler variables/tr