Jump to content

Шаблон:Incompatible

From mediawiki.org
This page is a translated version of the page Template:Incompatible and the translation is 3% complete.
Документация шаблона

Usage

{{Incompatible}}

Optional parameters

  • reason=Reason for incompatibility (PHP errors, incompatible dependency, etc.).
    • 1=Can be used alternatively to reason=.
  • alternative=If you would like to list a possible alternative extension.
  • version=Version of MediaWiki extension is incompatible with, if other than current stable version (1.46) - such as an upcoming release
  • pledge=MediaWiki.org username (~~~~) of developer pledging to fix compatibility issues
  • nocat=yesDo not add page to Category:Incompatible extensions - for demo purposes and not actual use.

Examples

With a reason

Showing a alternative

{{Incompatible|alternative={{ll|Extension:Cite}}
*{{ll|Extension:Poem}}}}

Version

{{Incompatible|version=1.20}}

Pledge

{{Incompatible|pledge=~~~~}}

Wrappers

The following wrapper templates based on {{Incompatible }} can be used to mention specific reasons for incompatibility:

{{Hooks::Run }}
It uses the Hooks::run method, which was removed (1.42+)
{{DB MASTER }}
Uses the DB_MASTER constant, which was removed (1.43+)
{{Linktarget incompatible }}
Never properly updated to reference the linktarget table (1.45+)
{{Title class incompatible }}
Depends on the Title class alias, which was removed (1.44+)
{{XML incompatible }}
Uses removed XML methods (1.45+)