镜像自地址
https://github.com/wikimedia/mediawiki-extensions-CategoryTree.git
已同步 2024-06-03 02:50:16 +08:00
Rename language codes sr-ec and sr-el to sr-cyrl and sr-latn
sr-ec and sr-el are not conform to BCP 47. https://tools.ietf.org/html/bcp47 BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples. This change requires 6839b8599458d978b0596de57c8cb8f31db5a2f6 in MediaWiki core included in MediaWiki 1.39. The bidirectional fallback between the old and the new language codes ensures that the special page aliases and the magic words supports both language codes. For magic words this can be checked at api.php?action=query&meta=siteinfo&siprop=magicwords&format=json Just the order of the entries is different after this change. Bug: T117845 Depends-On: I666fbdea89ccf21aab6ca1849adf22813dec052e Change-Id: I409f384a5629741d45801d733c9293b270bca62e
这个提交包含在:
父节点
cb18961b8e
当前提交
f519fbbf5d
|
@ -427,12 +427,12 @@ $specialPageAliases['sk'] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Serbian Cyrillic (српски (ћирилица)) */
|
/** Serbian Cyrillic (српски (ћирилица)) */
|
||||||
$specialPageAliases['sr-ec'] = [
|
$specialPageAliases['sr-cyrl'] = [
|
||||||
'CategoryTree' => [ 'СтаблоКатегорија' ],
|
'CategoryTree' => [ 'СтаблоКатегорија' ],
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Serbian Latin (srpski (latinica)) */
|
/** Serbian Latin (srpski (latinica)) */
|
||||||
$specialPageAliases['sr-el'] = [
|
$specialPageAliases['sr-latn'] = [
|
||||||
'CategoryTree' => [ 'StabloKategorija' ],
|
'CategoryTree' => [ 'StabloKategorija' ],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -198,12 +198,12 @@ $magicWords['ru'] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Serbian (Cyrillic script) (српски (ћирилица)) */
|
/** Serbian (Cyrillic script) (српски (ћирилица)) */
|
||||||
$magicWords['sr-ec'] = [
|
$magicWords['sr-cyrl'] = [
|
||||||
'categorytree' => [ 0, 'стаблокатегорије', 'стабло_категорије' ],
|
'categorytree' => [ 0, 'стаблокатегорије', 'стабло_категорије' ],
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Serbian (Latin script) (srpski (latinica)) */
|
/** Serbian (Latin script) (srpski (latinica)) */
|
||||||
$magicWords['sr-el'] = [
|
$magicWords['sr-latn'] = [
|
||||||
'categorytree' => [ 0, 'stablokategorije', 'stablo_kategorije' ],
|
'categorytree' => [ 0, 'stablokategorije', 'stablo_kategorije' ],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
正在加载...
在新工单中引用
屏蔽一个用户