跳转到内容

模板:Extension by patch warning/he

来自天灾之下:危险连接资料站
wiki>A100Star2025年7月9日 (三) 17:56的版本 (Created page with "אם קיימת חלופה מתאימה ללא תיקון, אנו ממליצים להשתמש בהרחבה זו במקום זאת.")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


模板文档

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}}


patch needed for versions before 1.39
{{Extension by patch warning|version=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.

模板参数[编辑模板数据]

参数描述类型状态
Versionversion

The highest MediaWiki version to require patching.

字符串可选
Template modetemplatemode

Set to 'nocats' to prevent inclusion in [[Category:Extensions requiring patches]].

示例值
nocats
字符串可选