Template:MediaWikiHook/ja

''フックのアタッチについての詳細情報は、Manual:フック を参照してください. ''

''このフックを使用する拡張機能の例については、Category: extensions を参照してください. '' {{ {{TNTN|Documentation}} |content=

使用法の注記

 * name
 * フックの名前. 通常、これは下位ページと同じ名前です.


 * version
 * このフックが最初に導入された MediaWiki バージョン.


 * rev
 * このフックが最初に導入された SVN リビジョン. If this parameter is given, it'll link to the appropriate CodeReview page (e.g. Special:Code/MediaWiki/1).


 * gerrit
 * このフックが最初に導入された Gerrit change 番号. If this parameter is given, it'll link to the appropriate Gerrit changeset page (e.g. Gerrit change 1)


 * removed
 * フックが除去された場合、除去された際の MediaWiki バージョン.


 * deprecated
 * フックが廃止予定になった (ただし除去はされていない) 場合、廃止予定になった際の MediaWiki バージョン.


 * summary
 * フックの使用目的の短い説明.
 * More detailed descriptions are desirable, and should be added to the main page content.
 * If you update the short description, please also update the two tables on.


 * args
 * The arguments, as used at the top of the function.


 * source
 * Location (file name) which calls this hook in the code. Further locations can be added via source2...source10.


 * sourcefunction
 * Name of the function which calls this hook. Another can be added via sourcefunction.


 * sourceclass
 * Name of the class which calls this hook.


 * templatemode
 * Set to nocats if hook documentation should not appear in standard MediaWiki Categories.
 * By default, using this temmplate places the documentation page into categories:
 * MediaWiki フック
 * MediaWiki に追加されたフック...
 * There are times when it is undesirable to automatically categorize the hook documentation. Examples would include when documenting a hook in an extension, or when documenting the template itself.

Finding a hook's version and Gerrit ID
To populate the  and   attributes of this template, you may need to search the history of the  file.


 * 1) (From the top-level of a Git clone of MediaWiki source code)
 * 2) Find the oldest commit to   that mentions the hook:
 * 3) Find its Gerrit ID:
 * 4) Copy the change-id from the log entry into the Gerrit search box
 * 5) Select the relevant change, and get its ID
 * 6) Find out what release the hook was first included in:
 * 1) Select the relevant change, and get its ID
 * 2) Find out what release the hook was first included in:

}}