This page is a translated version of the page Template:MW src and the translation is 75% complete.

MediaWiki主线上的MW src源代码

模板文档

用法

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

示例

  • {{MW src|Maintenance|php}}

MediaWiki主线上的Maintenance.php源代码