Extension:MyVariables/es

This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
Category:Extensions by WikiTeq/es Category:GPL licensed extensions/es
Manual de extensiones de MediaWiki
MyVariables
Estado de la versión: estableCategory:Stable extensions/es
Implementación Variable Category:Variable extensions/es
Descripción Adds new built-in variables
Autor(es)
Mantenedor(es) WikiTeq team
Última versión 4.3 (2021-09-23)
Política de compatibilidad Por cada lanzamiento de MediaWiki que sea de soporte a largo plazo (Long Term Support, LTS) hay una rama correspondiente en la extensión.
MediaWiki 1.31-1.35, 1.39Category:Extensions with manual MediaWiki version
Cambios en la base de datos No
Licencia Licencia Pública General de GNU 2.0 o posterior
Descargar Category:Extensions in Wikimedia version control/es
Descargas trimestrales 16 (Ranked 80th)
Traduce la extensión MyVariables si está disponible en translatewiki.net
Incidentes Tareas abiertas · Reportar un error
Category:All extensions/es

The MyVariables extension adds new built-in variables:

Variable Descripción Ejemplo
{{currentuser}} Login of current user or the IP for anonymous users. "Pastakhov" or "x.x.x.x"
{{currentloggeduser}} Login of current user or empty for anonymous users. "Pastakhov" or ""
{{currentuserrealname}} Real name of current user. "Pavel Astakhov"
{{hitcounter}} Number of visits (hits) to the current page according to Extension:HitCounters or empty if the extension isn't installed. "123" or ""
{{logo}} Path to wiki logo. "/w/skins/common/images/wiki.png"
{{uuid}} Random (v4) UUID. "65ba1a51-c723-4b9d-b1f3-13148d628322"
{{userlanguagecode}} Language that the user specified in the preferences. "en", "en-ca", "ru", etc.
{{userregistration}} Timestamp of the date at which the user registered or empty if the page isn't a user page. "20100809003006" or ""
{{firstrevisionid}} ID of the first revision of the current page or empty if page isn't yet created. "1" or ""
{{firstrevisiontimestamp}} Timestamp of the first revision of the current page or empty if page isn't yet created. "20100809003006" or ""
{{firstrevisionuser}} The user name (without the User prefix) or IP address associated to the first revision of the current page or empty if page isn't yet created. "Pastakhov", "x.x.x.x" or ""
{{pageimage}} The main image of the current page as determined by Extension:PageImages. If the extension is not installed or no main image was determined then {{PAGEIMAGE}} will output nothing. "Logo.png" or ""
{{realname}} When used in a user page, will output the real name of the user. However, if used like this {{REALNAME:Jimbo}} it will output the real name of the user Jimbo. This dual behavior is similar to core variables like {{PAGENAME}}. "Pastakhov" or ""
{{redirects}} Comma-separated list of redirects to the current page or empty if there're no redirects. "Foo, Bar, Baz" or ""
{{subpages}} The subpages of the current page, in plain text, comma-separated and in alphabetic order. If there are no any subpages, it will output nothing. "Pastakhov/Subpage1, Pastakhov/Subpage2" or ""
{{whatlinkshere}} The titles of the pages that link to the current page, comma-separated and in alphabetic order. It will be empty if there are no linked pages. "Bar, Baz, Foo" or ""

Instalación

  • Descarga y mueve la carpeta MyVariables extraída a tu directorio extensions/.
    Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MyVariables
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'MyVariables' );
    
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Nota

  • This extension should not be confused with the Variables extension, which allows the use of variables in the computer programming sense.

Véase también

Category:All extensions/es Category:Extensions by WikiTeq/es Category:Extensions in Wikimedia version control/es Category:Extensions included in Canasta/es Category:Extensions included in Miraheze/es Category:Extensions included in MyWikis/es Category:Extensions included in Open CSP/es Category:Extensions included in ProWiki/es Category:Extensions included in WikiForge/es Category:Extensions included in wiki.gg/es Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/es Category:GetMagicVariableIDs extensions/es Category:ParserFirstCallInit extensions/es Category:ParserGetVariableValueSwitch extensions/es Category:ParserOptionsRegister extensions/es Category:Stable extensions/es Category:Variable extensions/es