Manual:$wgContentHandlerTextFallback

Allowed parameters
Depending on the value, the following action is taken when Content is not a TextContent object:


 * -   returns null
 * - Throw an MWException
 * - Use the Content objects   method to get a string