Jump to content

Template:Incompatible

From mediawiki.org
Template documentation

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.45) - such as an upcoming release
  • pledge=MediaWiki.org username (~~~~) of developer pledging to fix compatibility issues
  • nocat=yes – Do 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:

{{WgParser }}
It uses the $wgParser variable, which was removed (1.39+)
{{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+)
{{XML incompatible }}
Uses removed XML methods (1.45+)