Extension:Babel/es

La extensión Babel agrega una función analizadora para reemplazar el antiguo sistema Babel que dependía completamente de plantillas. Si se especifica un parámetro de idioma no reconocido, verá si hay una plantilla existente con el nombre y la incluirá.

En los proyectos de Wikimedia, el sustantivo Babel (en referencia a la Torre de Babel) se refiere a los textos en las páginas de los usuarios que ayudan a la comunicación multilingüe al facilitar el contacto con alguien. que habla un idioma determinado. La idea se originó en Wikimedia Commons y también se ha implementado en muchas otras wikis.

Uso
La sintaxis para  función analizadora es la siguiente:

Agregue uno de los siguientes códigos para cada idioma que hable o comprenda, separados por, donde   es el código de MediaWiki código de idioma, ISO 639-1, o ISO 639-3 código para el idioma. El uso general de cada nivel de código es el siguiente:


 * : si no entiende el idioma en absoluto.
 * : Capacidad básica: suficiente para comprender material escrito o preguntas sencillas en este idioma.
 * : Habilidad intermedia—suficiente para editar o discutir.
 * : Nivel avanzado—aunque puede escribir en este idioma sin problemas, pueden ocurrir algunos pequeños errores.
 * : nivel "casi nativo": aunque no es tu primer idioma desde que naciste, tu habilidad es similar a la de un hablante nativo.
 * : Capacidad profesional.
 * o : Hablantes nativos que usan un idioma todos los días y lo dominan a fondo, incluidos coloquialismos y modismos.

Para incluir cualquier otra plantilla, simplemente agregue el nombre de la plantilla, por ejemplo, agregue  si desea incluir. Se puede agregar un prefijo o sufijo a los nombres de las plantillas (por ejemplo, Usuario al principio) según la configuración local. Esto se puede usar para restringir la selección y reducir la longitud de los parámetros; por ejemplo,  podría incluir   si se configura de esa manera.

To remove the header and footer, use  as the first parameter, e.g.,. This makes it easier to use babel with other userboxes.

Configuration parameters
Babel has several configuration parameters which can be modified in.


 * (string) the path of the language code database file, the default should suffice.
 * (string) the path of the language code database file, the default should suffice.


 * (string) the path of the language name database file, the default should suffice.
 * (string) the path of the language name database file, the default should suffice.


 * (array of string or boolean, indexed by the strings "1", "2", … "5", "N") where each entry is the name of a category for the skill level indicated by its index, possible variable elements are:  (language code),   (the name of the language in the wiki's content language), and   (the name of the language in its language). To disable adding a category for a particular level, set the corresponding value to false.
 * (array of string or boolean, indexed by the strings "1", "2", … "5", "N") where each entry is the name of a category for the skill level indicated by its index, possible variable elements are:  (language code),   (the name of the language in the wiki's content language), and   (the name of the language in its language). To disable adding a category for a particular level, set the corresponding value to false.


 * Por ejemplo:


 * will use categories like "Category:User en-0" and "Category:User fr-N". The default is just "Category:Fr-N" and so on.


 * (string) Name of the main (non-level) category for each language, to which all users of that language are added. Set to false to disable; defaults to format "Category:Fr". It accepts the same format as above. Example:
 * (string) Name of the main (non-level) category for each language, to which all users of that language are added. Set to false to disable; defaults to format "Category:Fr". It accepts the same format as above. Example:


 * (string) Default ability level to use when none is specified, should be an index from, that is one of the strings "1", "2", … "5", "N". Default is "N".
 * (string) Default ability level to use when none is specified, should be an index from, that is one of the strings "1", "2", … "5", "N". Default is "N".


 * (boolean) Whether to use the user interface language for the header and footer message. If false (default), it will be in the page content language. This is because using the user interface language may fragment the parser cache.
 * (boolean) Whether to use the user interface language for the header and footer message. If false (default), it will be in the page content language. This is because using the user interface language may fragment the parser cache.


 * Array of namespaces to only add automatic categorization to. For example, if, then Babel will only add categories to pages in the user namespace. The default is null, which means categorize all namespaces.
 * Array of namespaces to only add automatic categorization to. For example, if, then Babel will only add categories to pages in the user namespace. The default is null, which means categorize all namespaces.


 * Whether to allow Babel categories to be overridden on wiki using MediaWiki:Babel-category-override
 * Whether to allow Babel categories to be overridden on wiki using MediaWiki:Babel-category-override

System messages
Several customizations can also be made using MediaWiki namespace messages.


 * MediaWiki:babel-template " "
 * The format of template names when one is being included.


 * MediaWiki:babel-portal " "
 * The format of the target of the link from the language code. Set to the empty string to not link the language code.


 * MediaWiki:Babel-autocreate-user " "
 * Username to be used for autocreation of Babel related categories


 * MediaWiki:babel-autocreate-text-levels " "
 * Text to insert into auto-created categories for different language levels. You have to change this if you want them to be auto-categorized in the main category of the respective language.


 * MediaWiki:babel-autocreate-text-main " "
 * Text to insert into auto-created categories for non-level categories. You have to change this if you want them to be auto-categorized in a parent category for all languages.


 * MediaWiki:babel " "
 * The header of the babel box. Set to  to not display a header.


 * MediaWiki:babel-url " "
 * The pagename where information on the babel extension can be found. Set to  to display no link in the header.


 * MediaWiki:Babel-footer " "
 * The footer of the babel box. Set to  to not display a footer.


 * MediaWiki:babel-footer-url " "
 * The page to link to in the footer of the babel box


 * MediaWiki:Babel-category-override " "
 * Overrides any automatically-generated Babel categories. Parameters: $1 = the category that would be generated normally. $2 = the language code $3 is the babel level. Any categories overridden using this method will not be auto-created to reduce the risk from vandalism or mistaken edits to that page.