« Nicolas NALLET (Wiki Valley) » : différence entre les versions
sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !
Aucun résumé des modifications |
(test) |
||
Ligne 32 : | Ligne 32 : | ||
}} | }} | ||
Variable Output Description Versions | |||
Site | |||
{{SITENAME}} MediaWiki The wiki's site name ($wgSitename). | |||
{{SERVER}} //www.mediawiki.org Domain URL ($wgServer). | |||
{{SERVERNAME}} www.mediawiki.org Subdomain and domain name (no longer dependent on $wgServerName as of version 1.17). | |||
{{DIRMARK}} | |||
{{DIRECTIONMARK}} | |||
| |||
| |||
Outputs a Unicode directional mark that matches the wiki's default language's direction (‎ on left-to-right wikis, ‏ on right-to-left wikis), useful in text with multi-directional text. Since 1.19, it depends on the page content language. | |||
≥ 1.7 | |||
r14442 | |||
{{ARTICLEPATH}} /wiki/$1 Relative article path ($wgArticlePath). | |||
{{SCRIPTPATH}} /w Relative script path ($wgScriptPath). | |||
{{STYLEPATH}} /w/skins Relative style path ($wgStylePath). | |||
≥ 1.16 | |||
{{CURRENTVERSION}} 1.42.0-wmf.15 (6220c90) The wiki's MediaWiki version. | |||
≥ 1.7 | |||
r14199 | |||
{{CONTENTLANGUAGE}} | |||
{{CONTENTLANG}} | |||
en | |||
en | |||
The wiki's default interface language ($wgLanguageCode). | |||
≥ 1.7 | |||
r14661 | |||
Page | |||
{{PAGEID}} 1748 Returns the page identifier (page ID). | |||
≥ 1.20 | |||
Gerrit change 9858 | |||
{{PAGELANGUAGE}} | |||
{{#language:{{PAGELANGUAGE}}}} en | |||
English Returns the language of the current page. The language code that this variable returns can be converted to a language name using {{#language:...}}. | |||
≥ 1.29 | |||
Gerrit change 330982 | |||
{{TRANSLATABLEPAGE}} Help:Magic words Returns the title of the translation page (the page other languages are translated from) if a page is translatable (including translated pages), and nothing if the page is not translatable. | |||
≥ 1.41.0-wmf.8 | |||
Gerrit change 913677 | |||
<translate><!--T:1--> Translated unit. Language: <tvar name=lang>{{TRANSLATIONLANGUAGE}}</tvar>.</translate> | |||
<translate><!--T:2--> Untranslated unit. Language: <tvar name=lang>{{TRANSLATIONLANGUAGE}}</tvar>.</translate> | |||
Translated unit. Language: en. | |||
Not translated unit. Language: en. | |||
Must be used in a translated page, inside <translate> tags. Returns the language code of the current translation unit. In a translation page, if the unit has been translated, then it returns translation language. Else, it returns source language. The language code that this variable returns can be converted to a language name using {{#language:...}}. Should only be used by translation admins. | |||
≥ 1.36.0-wmf.8 | |||
Gerrit change 603472 | |||
{{PROTECTIONLEVEL:action}} Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the current page. Returns an empty string if not protected. | |||
≥ 1.15 | |||
r45587 | |||
{{PROTECTIONEXPIRY:action}} Outputs the protection expiry (e.g. "20160418155030", "infinity") for a given action (e.g. "edit", "move") on the current page. Returns "infinity" if not protected. | |||
≥ 1.27 | |||
Gerrit change 255717 | |||
{{CASCADINGSOURCES}} [Expensive] Returns the sources of any cascading protection acting on the current page. Pages will not return their own title unless they transclude themselves. | |||
≥ 1.23 | |||
Gerrit change 104999 | |||
Viewed revision of current page (latest revision or selected older revision) | |||
{{REVISIONID}} - Unique revision ID. It is always empty in preview, thus one can show an error message only in preview. May be disabled in miser mode (all WMF wikis) returning - instead when not in preview. | |||
≥ 1.5 | |||
{{REVISIONDAY}} 20 Day edit was made (unpadded number). | |||
≥ 1.8 | |||
{{REVISIONDAY2}} 20 Day edit was made (zero-padded number). | |||
≥ 1.8 | |||
{{REVISIONMONTH}} 01 Month edit was made (zero-padded number as of 1.17+, unpadded number in prior versions). | |||
≥ 1.8 | |||
{{REVISIONMONTH1}} 1 Month edit was made (unpadded number). | |||
≥ 1.17 | |||
r66200 | |||
{{REVISIONYEAR}} 2024 Year edit was made. | |||
≥ 1.8 | |||
{{REVISIONTIMESTAMP}} 20240120143700 Timestamp as of time of edit. | |||
≥ 1.8 | |||
{{REVISIONUSER}} Cavila The username of the user who made the edit in question, or the user previewing an edit. | |||
≥ 1.15 | |||
r48149 | |||
{{REVISIONSIZE}} 100147 The size (bytes of wikitext) of the viewed revision of the page or preview | |||
≥ 1.22 | |||
Gerrit change 82650 | |||
Affects page content | |||
{{DISPLAYTITLE:title}} | |||
==Devis== | ==Devis== | ||
Version du 23 janvier 2024 à 12:01
Intervenants Wiki Valley : Seb35 (SB)
transféré vers Dico:Technique
Bonjour !
Je suis Nicolas NALLET (Wiki Valley) !
Variable Output Description Versions Site Le Dico des Ados MediaWiki The wiki's site name ($wgSitename). https://fr.dicoado.org //www.mediawiki.org Domain URL ($wgServer). fr.dicoado.org www.mediawiki.org Subdomain and domain name (no longer dependent on $wgServerName as of version 1.17).
Outputs a Unicode directional mark that matches the wiki's default language's direction ( on left-to-right wikis, on right-to-left wikis), useful in text with multi-directional text. Since 1.19, it depends on the page content language. ≥ 1.7 r14442 /dico/$1 /wiki/$1 Relative article path ($wgArticlePath). /w /w Relative script path ($wgScriptPath). /w/skins /w/skins Relative style path ($wgStylePath). ≥ 1.16 1.39.8 (fbca402) 1.42.0-wmf.15 (6220c90) The wiki's MediaWiki version. ≥ 1.7 r14199 fr fr
en en
The wiki's default interface language ($wgLanguageCode). ≥ 1.7 r14661 Page 12017 1748 Returns the page identifier (page ID). ≥ 1.20 Gerrit change 9858 fr français en English Returns the language of the current page. The language code that this variable returns can be converted to a language name using .... ≥ 1.29 Gerrit change 330982 Modèle:TRANSLATABLEPAGE Help:Magic words Returns the title of the translation page (the page other languages are translated from) if a page is translatable (including translated pages), and nothing if the page is not translatable. ≥ 1.41.0-wmf.8 Gerrit change 913677 <translate> Translated unit. Language: <tvar name=lang>Modèle:TRANSLATIONLANGUAGE</tvar>.</translate>
<translate> Untranslated unit. Language: <tvar name=lang>Modèle:TRANSLATIONLANGUAGE</tvar>.</translate>
Translated unit. Language: en.
Not translated unit. Language: en.
Must be used in a translated page, inside <translate> tags. Returns the language code of the current translation unit. In a translation page, if the unit has been translated, then it returns translation language. Else, it returns source language. The language code that this variable returns can be converted to a language name using .... Should only be used by translation admins. ≥ 1.36.0-wmf.8 Gerrit change 603472 Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the current page. Returns an empty string if not protected. ≥ 1.15 r45587 Outputs the protection expiry (e.g. "20160418155030", "infinity") for a given action (e.g. "edit", "move") on the current page. Returns "infinity" if not protected. ≥ 1.27 Gerrit change 255717 [Expensive] Returns the sources of any cascading protection acting on the current page. Pages will not return their own title unless they transclude themselves. ≥ 1.23 Gerrit change 104999 Viewed revision of current page (latest revision or selected older revision) - - Unique revision ID. It is always empty in preview, thus one can show an error message only in preview. May be disabled in miser mode (all WMF wikis) returning - instead when not in preview. ≥ 1.5 23 20 Day edit was made (unpadded number). ≥ 1.8 23 20 Day edit was made (zero-padded number). ≥ 1.8 01 01 Month edit was made (zero-padded number as of 1.17+, unpadded number in prior versions). ≥ 1.8 1 1 Month edit was made (unpadded number). ≥ 1.17 r66200 2024 2024 Year edit was made. ≥ 1.8 20240123120113 20240120143700 Timestamp as of time of edit. ≥ 1.8 Nicolas NALLET (Wiki Valley) Cavila The username of the user who made the edit in question, or the user previewing an edit. ≥ 1.15 r48149 7894 100147 The size (bytes of wikitext) of the viewed revision of the page or preview ≥ 1.22 Gerrit change 82650 Affects page content
Devis
Devis 2023 | Devis 2024 | Exclusions (A faire par Dico des ados) |
---|---|---|
Installation d’un système d’authentification centralisé
avec wgSharedDB
|
CentralAuth afin de
|
|
|
UX Design avancé pour téléversement de fichiers si besoin. |