Changes

Jump to navigation Jump to search
1,096 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}}}} source code] on MediaWiki master.
| #default =
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW src|noshift=1}}
}}<noinclude>
{{Documentation|content=

== Użycie ==

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}}.}}

== Parametry ==

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

gdzie:

* ''name'' - nazwa pliku.
* ''ext'' - rozszerzenie pliku, np. <code>.php</code>, <code>.inc</code>, etc.

== Przykłady ==
* <nowiki>{{MW src|Maintenance|php}}</nowiki>
{{MW src|Maintenance|php}}

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

Navigation menu