Manual:$wgCategoryCollation/es

Detalles
El ajuste determina qué algoritmo de ordenación debería utilizarse para ordenar las listas en las categorías. Véase también.

Actualmente tiene soporte para:


 * [predeterminado]: pasa todo a mayúsculas y luego ordena por el valor binario de la cadena almacenada en UTF-8. En esencia, ordenación insensible a mayúsculas por punto de código.
 * [MW 1.28+]: Igual que, pero con ordenación numérica.
 * [MW 1.18+]: ordenación por valor binario de la cadena tal como se almacena en UTF-8 (sin conversión a mayúsculas). En esencia, ordenación por punto de código.
 * [MW 1.17+]: Algoritmo de ordenación de Unicode – complejo, aunque mejor adaptable a entornos multilingües para la ordenación en categorías.
 * [MW 1.28+]:  con ordenación numérica.
 * [MW 1.21+]:  con ajustes específicos según el idioma. Véase abajo.
 * [MW 1.28+]:  con ordenación numérica.
 * [MW 1.23+]
 * [MW 1.24+] Estonio, pero considerando las letras W y V como distintas.

Desde MediaWiki 1.18, las extensiones pueden añadir nuevos métodos de ordenación mediante.

El valor también se almacena en la tabla categorylinks («enlaces de categorías») para determinar qué filas se deben actualizar cuando se cambie el algoritmo de ordenación.

Language-specific collations
MediaWiki also supports many collations designed for specific languages. These are based on  and have the same requirements; they are named , where is one of: af, am, ar, as, ast, az, be, be-tarask, bg, bn, bn@collation=traditional, bo, br, bs, bs-Cyrl, ca, chr, co, cs, cy, da, de, de-AT@collation=phonebook, dsb, ee, el, en, eo, es, et, eu, fa, fi, fil, fo, fr, fr-CA, fur, fy, ga, gd, gl, gu, ha, haw, he, hi, hr, hsb, hu, hy, id, ig, is, it, ka, kk, kl, km, kn, kok, ku, ky, la, lb, lkt, ln, lo, lt, lv, mk, ml, mn, mo, mr, ms, mt, nb, ne, nl, nn, no, oc, om, or, pa, pl, pt, rm, ro, ru, rup, sco, se, si, sk, sl, smn, sq, sr, sr-Latn, sv, sv@collation=standard, sw, ta, te, th, tk, tl, to, tr, tt, uk, uz, vi, vo, yi, yo, zu

For example, to use a collation for Spanish, one would use the  collation.

Using these collations provides both correct sorting order for given language and proper headings for first letters of article titles. Earlier versions of MediaWiki might not support all of these language codes.

Getting new collations added
There are two parts to having a new language supported:


 * It being supported by the ICU library (the list of language codes it supports is available at ). Note, however, that Wikimedia's production servers do not use the latest version of the ICU library. As of 2016, they use version 52.1, which supports a significantly smaller set of languages.
 * It being additionally supported by MediaWiki itself (this basically requires listing the additional characters, or character groups, that are considered separate letters in the given language, in addition to the basic alphabet) – the always up-to-date list of currently supported ones is available at ).

It might also be the case that the default ICU ordering ('uca-default' collation) orders the titles correctly, but does not correctly separate the letters – it can be used for the first step in that case. Sometimes the letter ordering of a different language might fit yours, if they are related – a custom collation can sometimes be provided in such case (there is one for Sorani Kurdish / Central Kurdish language ('ckb') already, called  ).

Numeric sorting
Under numeric sorting, pages will be sorted as such: 1, 2, 9, 10, 11, 20, 21, 99, 100. Under regular (non-numeric) sorting, pages will be sorted as such: 1, 10, 100, 11, 2, 20, 21, 9, 99. If numeric sorting is used, all pages starting with a number will be sorted together under a single header: "0–9". If regular sorting is used, pages starting with a number will be sorted under separate headers for whichever number each title begins with: "0", "1", "2", etc. For more information about numeric sorting, see the Unicode Technical Standard #10. To test numeric sorting, see the ICU Collation Demo. Note that numeric sorting only works for unbroken sequences of digits. Digits separated by commas, periods, or spaces are treated as separate numbers.