Template:MW src/zh

From RobotX
< Template:MW src
Revision as of 03:40, 1 December 2019 by Joelmartin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


MediaWiki主线上的MW src源代码

Template documentation

用法

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}}

[https://doc.wikimedia.org/mediawiki-core/master/php/Maintenance_8php_source.html <tvar