Difference between revisions of "Template:Extension/doc"

Jump to navigation Jump to search
→‎Usage: added hook7-hook10 to documentation
>Egfrank~mediawikiwiki
(→‎Usage: added license to documentation)
>Egfrank~mediawikiwiki
(→‎Usage: added hook7-hook10 to documentation)
Line 69: Line 69:
Note: Many extensions have more than one type, if this applies to yours,replace <code><nowiki>|type=</nowiki></code> with <code><nowiki>|type1=|type2=|type3=...</nowiki></code>.  You may define up to six types for an extension.
Note: Many extensions have more than one type, if this applies to yours,replace <code><nowiki>|type=</nowiki></code> with <code><nowiki>|type1=|type2=|type3=...</nowiki></code>.  You may define up to six types for an extension.
|-
|-
| <span id="type">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>''hook5''<br/>''hook6''<br/> || '''name of each hook used by the extension''' - please see [[Manual:Hooks]] for a list of valid values.
| <span id="type">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>''hook5''<br/>''hook6''<br/><span id="type">hook7</span><br/>''hook8''<br/>''hook9''<br/>''hook10''|| '''name of each hook used by the extension''' - please see [[Manual:Hooks]] and [[Extension hook registry]] for a list of valid values.
|-
|-
| author    || The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).
| author    || The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).

Navigation menu