Manual:$wgExtensionCredits/fr

Détails
An array of extension types and inside that their names, versions, authors, URLs, descriptions and pointers to localized description messages. Note that the version, url, description and descriptionmsg keys can be omitted.

This credit information gets added to the wiki's Special:Version page, allowing users to see which extensions are installed, and to find more information about them.

This is not a configuration setting mentioned in. Typically, extension developers will write code that updates the array in this global variable. See Developing extensions and (starting with MediaWiki 1.25).

Usage
Extension developers can append to the array with the following code:

The description and author fields get parsed as wiki syntax. This is often used to provide links to the author's homepage in the author field. In version 1.12 and newer, descriptionmsg will override description.

type
$type must be one of the following:
 * — extensions
 * — Wikidata-related extensions
 * — extensions that modify, add or replace functionality in the MediaWiki
 * - and dependent extensions
 * — extensions that modify
 * — extensions that add
 * — make a new
 * — does something else
 * — make a new
 * — does something else

namemsg
The value of namemsg will be treated as the message key for the extension or skin name: see the help page on localisation. As a standard, it's in the form  or   (all lower case).

The name is the same as that of the name property.

descriptionmsg
The value of descriptionmsg will be treated as the message key for the extension description: see the help page on localisation. As a standard, it's in the form  (all lower case).


 * The description
 * Must be a single brief sentence: it has no closing period and implies "this extension" as a subject when needed.
 * Is usually in one of the following forms:
 * "Does"/"Adds"/"Allows to do" something (e.g. " Adds tag for poem formatting ");
 * "Allow to do"/"Do" something, with the wiki or the users as subject (e.g. "Hide individual revisions from all users for legal reasons, etc.");
 * "Special page to do" something, or other noun-sentence to describe what the extension is composed of (e.g. "Provides a special page to view global file usage", "Provides Wikimedia specific messages").
 * Includes a link to the (main) added special page(s) if any, using "special page" or "do something" etc. as link labels.

author
Since MW ≥ 1.17 the author list can contain the special hackish   to denote not individually named authors, i.e. other authors. The triple dot will make MediaWiki insert the "version-poweredby-others" message.


 * Example

license-name
Since MW ≥ 1.23 it is possible to indicate the license on "Special:Version" as well as linking to a file containing it. For this to work "path" has to be provided as well as a file named either COPYING or LICENSE. The "license-name" key should be used to provide the short name of the license, e.g. "GPL-2.0-or-later" or "MIT" adhering to the list of identifiers at spdx.org. The text from "license-name" will then be used as label for the link.

Example: