Changes

Jump to navigation Jump to search
1,095 bytes added ,  11:56, 28 September 2019
Updating to match new version of source page
<noinclude>
<languages/>
</noinclude>{{#switch:
| =
[https://doc.wikimedia.org/mediawiki-core/master/php/{{{1}}}_8{{{2}}}_source.html {{#if:{{{1|}}}|{{{1}}}.{{{2}}}|{{BASEPAGENAME}}}} broncode] op de MediaWiki master branch.
| #default =
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW src|noshift=1}}
}}<noinclude>
{{Documentation|content=

== Usage ==

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." Instead of this template you can use {{tl|git file}}.}}

== Parameters ==

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

where:

* ''name'' - file name.
* ''ext'' - file extension, e.g. <code>.php</code>, <code>.inc</code>, etc.

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

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

Navigation menu