模板:Incompatible
外观
This extension is incompatible with the current stable MediaWiki 1.45 release! MediaWiki developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.45 by replacing the {{Incompatible}} template with {{Incompatible|pledge=~~~~}}. |
模板文档
Usage
{{Incompatible}}
Optional parameters
reason=– Reason for incompatibility (PHP errors, incompatible dependency, etc.).1=– Can be used alternatively toreason=.
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 releasepledge=– MediaWiki.org username (~~~~) of developer pledging to fix compatibility issuesnocat=yes– Do not add page to Category:Incompatible extensions - for demo purposes and not actual use.
Examples
Lua错误:expandTemplate: template loop detected。
With a reason
Lua错误:expandTemplate: template loop detected。
Showing a alternative
{{Incompatible|alternative={{ll|Extension:Cite}}
*{{ll|Extension:Poem}}}}
Lua错误:expandTemplate: template loop detected。
Version
{{Incompatible|version=1.20}}
Lua错误:expandTemplate: template loop detected。
Pledge
{{Incompatible|pledge=~~~~}}
Lua错误:expandTemplate: template loop detected。
Wrappers
The following wrapper templates based on {{Incompatible}} can be used to mention specific reasons for incompatibility:
- {{WgParser}}
- It uses the
$wgParservariable, which was removed (1.39+) - {{Hooks::Run}}
- It uses the
Hooks::runmethod, which was removed (1.42+) - {{DB MASTER}}
- Uses the
DB_MASTERconstant, 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+)