Template:MW src/fr

From Linux Web Expert

Revision as of 04:48, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

Template documentation

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

<translate> [<tvar name=1>https://doc.wikimedia.org/mediawiki-core/master/php/Maintenance_8php_source.html</tvar> <tvar name=file>Maintenance.php</tvar> source code] on MediaWiki master.</translate>