Changes
Jump to navigation
Jump to search
m
no edit summary
<noinclude>
<languages/>
</noinclude>{{#switch:<translate></translate>
| =
<translate><!--T:1--> [<tvar|1>https://doc.wikimedia.org/mediawiki-core/master/php/{{{1}}}_8{{{2}}}_source.html</> <tvar|file>{{#if:{{{1|}}}|{{{1}}}.{{{2}}}|{{BASEPAGENAME}}}}</> source code] on MediaWiki master.</translate>
| #default =
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW src|noshift=1}}
}}<noinclude>
{{Documentation|content=
<translate>
== Usage == <!--T:2-->
<!--T:3-->
This template generates a link to the source code of the file in MediaWiki master in the generated PHP [[Doxygen]] documentation.
</translate>
{{Note|1=<translate><!--T:4--> Doxygen's treatment of source files tends to be... odd.</translate> <translate><!--T:5--> 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."</translate> <translate><!--T:6--> Instead of this template you can use <tvar|file>{{tl|git file}}</>.</translate>}}
<translate>
== Parameters == <!--T:7-->
</translate>
<nowiki>{{MW src|name|ext}}</nowiki>
<translate>
<!--T:8-->
where:
</translate>
* ''name'' - <translate><!--T:9--> file name.</translate>
* ''ext'' - <translate><!--T:10--> file extension, e.g.</translate> <code>.php</code>, <code>.inc</code>, etc.
<translate>
== Examples == <!--T:11-->
</translate>
* <nowiki>{{MW src|Maintenance|php}}</nowiki>
{{MW src|Maintenance|php}}
}}
[[Category:Templates{{#translation:}}]]
</noinclude>
<languages/>
</noinclude>{{#switch:<translate></translate>
| =
<translate><!--T:1--> [<tvar|1>https://doc.wikimedia.org/mediawiki-core/master/php/{{{1}}}_8{{{2}}}_source.html</> <tvar|file>{{#if:{{{1|}}}|{{{1}}}.{{{2}}}|{{BASEPAGENAME}}}}</> source code] on MediaWiki master.</translate>
| #default =
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW src|noshift=1}}
}}<noinclude>
{{Documentation|content=
<translate>
== Usage == <!--T:2-->
<!--T:3-->
This template generates a link to the source code of the file in MediaWiki master in the generated PHP [[Doxygen]] documentation.
</translate>
{{Note|1=<translate><!--T:4--> Doxygen's treatment of source files tends to be... odd.</translate> <translate><!--T:5--> 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."</translate> <translate><!--T:6--> Instead of this template you can use <tvar|file>{{tl|git file}}</>.</translate>}}
<translate>
== Parameters == <!--T:7-->
</translate>
<nowiki>{{MW src|name|ext}}</nowiki>
<translate>
<!--T:8-->
where:
</translate>
* ''name'' - <translate><!--T:9--> file name.</translate>
* ''ext'' - <translate><!--T:10--> file extension, e.g.</translate> <code>.php</code>, <code>.inc</code>, etc.
<translate>
== Examples == <!--T:11-->
</translate>
* <nowiki>{{MW src|Maintenance|php}}</nowiki>
{{MW src|Maintenance|php}}
}}
[[Category:Templates{{#translation:}}]]
</noinclude>