Template:MW src/zh

From Linux Web Expert

Revision as of 00:40, 30 September 2023 by 36.225.126.166 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


MediaWiki主线上的MW src/zh源代码

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

示例

  • {{MW src|Maintenance|php}}

<translate> [<tvar name=1>https://doc.wikimedia.org/mediawiki-core/master/php/Maintenance_8php_source.html</tvar> <tvar name=file>Maintenance.php</tvar> source code] on MediaWiki master.</translate>