Changes

1,093 bytes added ,  11:56, 28 September 2019
Updating to match new version of source page
<noinclude>
<languages/>
</noinclude>{{#switch:
| =
MediaWiki主线上的[https://doc.wikimedia.org/mediawiki-core/master/php/{{{1}}}_8{{{2}}}_source.html {{#if:{{{1|}}}|{{{1}}}.{{{2}}}|{{BASEPAGENAME}}}}源代码]。
| #default =
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW src|noshift=1}}
}}<noinclude>
{{Documentation|content=

== 用法 ==

This template generates a link to the source code of the file in MediaWiki master in the generated PHP [[Doxygen]] documentation.
{{Note|1=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." 除了这个模板,您还可以用{{tl|git file}}。}}

== 参数 ==

<nowiki>{{MW src|name|ext}}</nowiki>

位于:

* ''name'' - 文件名。
* ''ext'' - 文件扩展名,例如 <code>.php</code>, <code>.inc</code>, etc.

== 例子 ==
* <nowiki>{{MW src|Maintenance|php}}</nowiki>
{{MW src|Maintenance|php}}

}}
[[Category:Templates{{#translation:}}]]
</noinclude>
Anonymous user