Template:Extension by patch warning/zh
![]() | 此扩展需要對MediaWiki核心程式碼進行补丁 。 使用补丁执行的扩展可能会因为升级与安全补丁而禁用,或干扰二者正常工作。 如果有某個合适的替代扩展是不需要补丁的,我们推荐您改用那个扩展。 |
模板文档
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}}
![]() | 此扩展需要對MediaWiki核心程式碼進行补丁 。 使用补丁执行的扩展可能会因为升级与安全补丁而禁用,或干扰二者正常工作。 如果有某個合适的替代扩展是不需要补丁的,我们推荐您改用那个扩展。 |
- patch needed for versions before 1.39
- {{Extension by patch warning|version=1.39}}
![]() | 此扩展需要对MediaWiki核心代码進行补丁 ,如果是用在MediaWiki 1.39及以前版本的话。 使用补丁执行的扩展可能会因为升级与安全补丁而禁用,或干扰二者正常工作。 如果您喜欢使用此扩展,我们强烈建议您升级到1.39及更高版本。 或者,如果有某個合适的替代扩展是不需要补丁的,我们推荐您改用那个扩展。 |
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 |