Template:ExtensionHook/ru

{{Documentation|content=

Примечания по использованию

 * name
 * Название хука. Обычно это то же имя, что и подстраница.


 * version
 * Версия MediaWiki, в которой этот хук был впервые представлен.


 * rev
 * Версия SVN, в которой этот хук был впервые представлен. Если указан этот параметр, он будет ссылаться на соответствующую страницу CodeReview (например, r115794).


 * gerrit
 * Номер изменения Gerrit, в котором этот хук был впервые представлен. If this parameter is given, it will link to the appropriate Gerrit changeset page (e.g., Gerrit change 5)


 * removed
 * If the hook has been removed, the version of MediaWiki that it was removed in.


 * deprecated
 * If the hook has been deprecated (but not removed), the version of MediaWiki that it was deprecated in.


 * summary
 * A short description of the hook's purpose.
 * 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.


 * extension
 * Extension name where hook is called; for when the source is not in the Mediawiki core code repository.


 * 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 sourcefunction2.


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


 * newvarname
 * Used by Removed or Deprecated when removed or deprecated is set.


 * newvarlink
 * Used by Removed or Deprecated when removed or deprecated is set.


 * templatemode
 * Set to nocats if hook documentation should not appear in standard MediaWiki Categories.
 * By default, using this template places the documentation page into categories:
 * MediaWiki hooks
 * Hooks added in 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.