Difference between revisions of "Template:Extension/doc"
no edit summary
>Kghbln (→Usage: form) |
>Tgr (WMF) |
||
Line 22: | Line 22: | ||
|newhook1 = | |newhook1 = | ||
|newhook2 = | |newhook2 = | ||
|service1 = | |||
|username = | |username = | ||
|author = | |author = | ||
Line 61: | Line 62: | ||
|type1 = {{{type1}}} | |type1 = {{{type1}}} | ||
|type2 = {{{type2}}} | |type2 = {{{type2}}} | ||
|hook1 = hook1 | |hook1 = {{{hook1}}} | ||
|hook2 = hook2 | |hook2 = {{{hook2}}} | ||
|newhook1 = newhook1 | |newhook1 = {{{newhook1}}} | ||
|newhook2 = newhook2 | |newhook2 = {{{newhook2}}} | ||
|service1 = {{{service1}}} | |||
|username = SomeUser | |username = SomeUser | ||
|author = SomeAuthor | |author = SomeAuthor | ||
Line 185: | Line 187: | ||
You might also want to add the hooks to [[Extension hook registry]]. | You might also want to add the hooks to [[Extension hook registry]]. | ||
|- | |||
| <span id="service">'''service1'''</span><br/>''service2'' || [[Dependency Injection|New service(s)]] defined by the extension. | |||
|- | |- | ||
| <span id="username">'''username'''</span> || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page. It should be provided without namespace and without <nowiki>[[]]</nowiki>s. | | <span id="username">'''username'''</span> || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page. It should be provided without namespace and without <nowiki>[[]]</nowiki>s. |