Template:Extension by patch warning/tr
From Linux Web Expert
Bu uzantı çekirdek MediaWiki kodu için yamalar gereklidir. Yamalar kullanılarak uygulanan uzantılar, yükseltmeler ve güvenlik yamaları tarafından devre dışı bırakılabilir veya bunlara müdahale edebilir. Yama içermeyen uygun bir alternatif varsa, bunun yerine bu uzantıyı kullanmanızı öneririz. |
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}}
<translate> This extension requires {{<tvar name=2>ll|Do not hack MediaWiki core</tvar>|patches to core MediaWiki code}}{{<tvar name=1>#if:</tvar>| when used with MediaWiki <tvar name=ver>{{{version}}}</tvar> and before}}.</translate> <translate> Extensions implemented using patches may be disabled by or interfere with upgrades and security patches.</translate> <translate> If a suitable alternative without a patch is available, we recommend you use that extension instead.</translate> |
- patch needed for versions before 1.39
- {{Extension by patch warning|version=1.39}}
<translate> This extension requires {{<tvar name=2>ll|Do not hack MediaWiki core</tvar>|patches to core MediaWiki code}}{{<tvar name=1>#if:1.39</tvar>| when used with MediaWiki <tvar name=ver>1.39</tvar> and before}}.</translate> <translate> Extensions implemented using patches may be disabled by or interfere with upgrades and security patches.</translate> <translate> If you would like to use this extension, we strongly recommend you upgrade to a version later than <tvar name=ver>1.39</tvar>.</translate> <translate> Alternatively, if a suitable alternative without a patch is available, we recommend you use that extension instead.</translate> |
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.
<templatedata> { "params": { "version": { "label": "Version", "description": "The highest MediaWiki version to require patching.", "type": "string" }, "templatemode": { "label": "Template mode",
"description": "Set to 'nocats' to prevent inclusion in.",
"example": "nocats", "type": "string" } }, "description": "Banner for extension pages to indicate that an extension requires (the strongly discouraged) modification of MediaWiki core." } </templatedata>