手册:$wgContentHandlerTextFallback
此功能已在版本1.42.0中完全移除。 |
内容处理程序和存储: $wgContentHandlerTextFallback | |
---|---|
How to react if a plain text version of a non-text Content object is requested using ContentHandler::getContentText() |
|
引进版本: | 1.21.0 |
弃用版本: | 1.37.0 (Gerrit change 691704; git #e34e93f2) |
移除版本: | 1.42.0 (Gerrit change 993049; git #ba1563a0) |
允许的值: | (允许的参数之一) |
默认值: | 'ignore' |
其他设置: 按首字母排序 | 按功能排序 |
允许的参数
Depending on the value, the following action is taken when Content is not a TextContent object:
'ignore'
-ContentHandler::getContentText()
returns null'fail'
- Throw an MWException'serialize'
- Use the Content objectsserialize
method to get a string