Template:MW src

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:MW src and the translation is 17% complete.

Other languages:
English • ‎Nederlands • ‎dansk • ‎français • ‎polski • ‎português do Brasil • ‎中文 • ‎日本語

MW src - código-fonte no MediaWiki master.

Documentação da predefinição

Usage

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

Parameters

{{MW src|name|ext}}

where:

  • name - file name.
  • ext - file extension, e.g. .php, .inc, etc.

Examples

  • {{MW src|Maintenance|php}}

Maintenance.php - código-fonte no MediaWiki master.