Manual:$wgContentHandlers/hu

Részletek
A változó a tartalmi modell kezelésével kapcsolatos beépülő modulokat engedélyezni. A tömb minden bejegyzése az adott modellazonosítót egy PHP-osztálynévhez rendeli hozzá.

When undeploying an extension that provides handling for a content model, that content model becomes unsupported, leading to MWUnknownContentModelExceptions to be raised. To avoid this, the content model in question can be defined to use the :

$wgContentHandlers['foo-bar'] = 'UnknownContentHandler';

This allows pages that use the new unsupported content model to still be accessible, even though their content can no longer be shown.

Alternatively, if the content model in question is a text based model, it can be re-defined to be handled as plain text:

$wgContentHandlers['foo-bar'] = 'TextContentHandler';

The content of pages that use this content model remain readable and editable, but lose any special capabilities and markup support.