Modèle:MW src

From mediawiki.org
This page is a translated version of the page Template:MW src and the translation is 58% complete.

coude source de https://doc.wikimedia.org/mediawiki-core/master/php/{{{1}}}_8{{{2}}}_source.html sur la branche "master" de MediaWiki.

Documentation du modèle

Utilisation

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

Paramètres

{{MW src|name|ext}}

où :

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

Exemples

  • {{MW src|Maintenance|php}}

coude source de https://doc.wikimedia.org/mediawiki-core/master/php/Maintenance_8php_source.html sur la branche "master" de MediaWiki.