Template:MW src
Jump to navigation
Jump to search
MW src のソースコード - MediaWiki master
テンプレートの解説
使用法
This template generates a link to the source code of the file in MediaWiki master in the generated PHP Doxygen documentation.
Doxygen's treatment of source files tends to be... odd. It strips all comments that look like Doxygen tags and structure commands, assuming you'll follow its link "Go to the documentation of this file." このテンプレートの代わりに {{git file}} を使用することもできます。
パラメーター
{{MW src|name|ext}}
パラメーターの意味は以下の通り:
- name - ファイル名。
- ext - ファイルの拡張子。例:
.php
,.inc
, etc.
例
- {{MW src|Maintenance|php}}
Maintenance.php のソースコード - MediaWiki master