Template:Extension by patch warning
This extension requires patches to core MediaWiki code . Extensions implemented using patches may be disabled by or interfere with upgrades and security patches. If a suitable alternative without a patch is available, we recommend you use that extension instead. |
Template documentation
Purpose
Adds an extension to Category:Extensions requiring patches and inserts the warning box displayed below. If you only want the warning box, the category can be suppressed by using the optional parameter templatemode=nocats
.
- patch needed for all versions
- {{Extension by patch warning}}
This extension requires patches to core MediaWiki code . Extensions implemented using patches may be disabled by or interfere with upgrades and security patches. If a suitable alternative without a patch is available, we recommend you use that extension instead. |
- patch needed for versions before 1.39
- {{Extension by patch warning|version=1.39}}
This extension requires patches to core MediaWiki code when used with MediaWiki 1.39 and before. Extensions implemented using patches may be disabled by or interfere with upgrades and security patches. If you would like to use this extension, we strongly recommend you upgrade to a version later than 1.39. Alternatively, if a suitable alternative without a patch is available, we recommend you use that extension instead. |
Parameters
{{Extension by patch warning[|templatemode=nocats]|[version=version]}}
- templatemode=nocats - optional, suppresses categories
- version - identifies the last MediaWiki version to require patches. Many extensions have been reimplemented to use hooks and configuration variables available in later versions.
Banner for extension pages to indicate that an extension requires (the strongly discouraged) modification of MediaWiki core.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Version | version | The highest MediaWiki version to require patching. | String | optional |
Template mode | templatemode | Set to 'nocats' to prevent inclusion in [[Category:Extensions requiring patches]].
| String | optional |