Page MenuHomePhabricator

Add termbox language code "ryu"
Closed, ResolvedPublic

Description

Please add the language code "ryu" to the list of language codes supported for labels/descriptions/aliases.

ISO 639-3 code: ryu

English name: Okinawan language
English aliases: Central Okinawan, Okinawan Ryukyuan
English Wikipedia article: en:Okinawan_language (Wikidata ID Q34233)

Scripts used: Han characters + Kana
Used by: 1,000,000 native speakers (data from year 2000) on the southern half of the island of Okinawa, in addition to the islands of Kerama, Kumejima, Tonaki and Aguni, within the Southern Okinawa Islands of the Ryukyu Archipelago of Japan.
English Wiktionary entry category: wikt:en:Category:Okinawan_lemmas

Native name: 沖縄口
Native name romanization: Uchināguchi

Example usage:
Adding ryu label "大和" to Q17
Adding ryu label "大大和ん人" to Q161652
Adding ryu label "大和口" to Q5287
Adding ryu label "沖縄ん人" to Q81257619
Adding ryu label "沖縄口" to Q34233
Adding ryu label "唐" to Q29520
Adding ryu label "唐ん人" to Q6501380
Adding ryu label "万里ぬ長城" to Q1250
Adding ryu label "高麗" to Q18097
Adding ryu label "影芝居" to Q11424
Adding ryu label "広東瓜" to Q38645
Adding ryu label "目眼鏡" to Q37501
Adding ryu label "七ち星" to Q10460
Adding ryu label "う菓子" to Q5159627
Adding ryu label "牛ぬ乳" to Q10988133
Adding ryu label "頭病ん" to Q86
Adding ryu label "入り髪星" to Q3559

Event Timeline

Mbch331 added subscribers: Amire80, jhsoby, Mbch331.

If you want to use it for labels, descriptions and aliases (as you mention in your examples), then adding it as a monolingual language isn't the solution. It needs to be added as a termbox language.
@Amire80 @jhsoby Is the language acceptable as a termbox language?

Yes, termbox language seems to be the correct usage, my apologies.

Mbch331 renamed this task from Add monolingual language code "ryu" to Add termbox language code "ryu".Mar 15 2021, 6:41 PM
Mbch331 updated the task description. (Show Details)

Change 672512 had a related patch set uploaded (by Mbch331; owner: Mbch331):
[mediawiki/extensions/Wikibase@master] Add termbox language ryu

https://gerrit.wikimedia.org/r/672512

Change 672518 had a related patch set uploaded (by Mbch331; owner: Mbch331):
[mediawiki/extensions/cldr@master] Add termbox language ryu

https://gerrit.wikimedia.org/r/672518

Change 672518 merged by jenkins-bot:
[mediawiki/extensions/cldr@master] Add termbox language ryu

https://gerrit.wikimedia.org/r/672518

Change 672512 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add termbox language ryu

https://gerrit.wikimedia.org/r/672512

{
error: {
code: "internal_api_error_InvalidArgumentException",
info: "[YFSJPKwQBHcAACBxYkUAAAAB] Exception caught: MediaWiki\User\UserEditTracker::getUserEditCount requires a user ID",
errorclass: "InvalidArgumentException",
*: "InvalidArgumentException at /srv/mediawiki/php-master/includes/user/UserEditTracker.php(65)
from /srv/mediawiki/php-master/includes/user/UserEditTracker.php(65)
#0 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Variables/LazyVariableComputer.php(302): MediaWiki\User\UserEditTracker->getUserEditCount(User)
#1 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Variables/VariablesManager.php(88): MediaWiki\Extension\AbuseFilter\Variables\LazyVariableComputer->compute(MediaWiki\Extension\AbuseFilter\Variables\LazyLoadedVariable, MediaWiki\Extension\AbuseFilter\Variables\VariableHolder, Closure)
#2 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterParser.php(1204): MediaWiki\Extension\AbuseFilter\Variables\VariablesManager->getVar(MediaWiki\Extension\AbuseFilter\Variables\VariableHolder, string, integer, string)
#3 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterCachingParser.php(136): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterParser->getVarValue(string)
#4 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterCachingParser.php(260): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterCachingParser->evalNode(MediaWiki\Extension\AbuseFilter\Parser\AFPTreeNode)
#5 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterCachingParser.php(267): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterCachingParser->evalNode(MediaWiki\Extension\AbuseFilter\Parser\AFPTreeNode)
#6 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterCachingParser.php(110): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterCachingParser->evalNode(MediaWiki\Extension\AbuseFilter\Parser\AFPTreeNode)
#7 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterCachingParser.php(67): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterCachingParser->evalTree(MediaWiki\Extension\AbuseFilter\Parser\AFPSyntaxTree)
#8 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterParser.php(399): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterCachingParser->intEval(string)
#9 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterParser.php(410): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterParser->parse(string)
#10 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/Parser/AbuseFilterParser.php(289): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterParser->parseDetailed(string)
#11 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/FilterRunner.php(378): MediaWiki\Extension\AbuseFilter\Parser\AbuseFilterParser->checkConditions(string, string)
#12 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/FilterRunner.php(344): MediaWiki\Extension\AbuseFilter\FilterRunner->checkFilter(MediaWiki\Extension\AbuseFilter\Filter\ExistingFilter, boolean)
#13 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/FilterRunner.php(231): MediaWiki\Extension\AbuseFilter\FilterRunner->checkAllFiltersInternal()
#14 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/AbuseFilterHooks.php(102): MediaWiki\Extension\AbuseFilter\FilterRunner->run()
#15 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/AbuseFilterHooks.php(45): MediaWiki\Extension\AbuseFilter\AbuseFilterHooks::filterEdit(DerivativeContext, User, Wikibase\Repo\Content\ItemContent, string, string)
#16 /srv/mediawiki/php-master/includes/HookContainer/HookContainer.php(330): MediaWiki\Extension\AbuseFilter\AbuseFilterHooks::onEditFilterMergedContent(DerivativeContext, Wikibase\Repo\Content\ItemContent, Status, string, User, boolean, string)
#17 /srv/mediawiki/php-master/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#18 /srv/mediawiki/php-master/includes/Hooks.php(137): MediaWiki\HookContainer\HookContainer->run(string, array, array)
#19 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditFilterHookRunner.php(115): Hooks::run(string, array)
#20 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/EditEntity/StatsdTimeRecordingEditFilterHookRunner.php(47): Wikibase\Repo\EditEntity\MediawikiEditFilterHookRunner->run(Wikibase\DataModel\Entity\Item, User, string)
#21 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditEntity.php(718): Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner->run(Wikibase\DataModel\Entity\Item, User, string)
#22 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEditEntity.php(77): Wikibase\Repo\EditEntity\MediawikiEditEntity->attemptSave(Wikibase\DataModel\Entity\Item, string, integer, string, boolean, array)
#23 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(377): Wikibase\Repo\EditEntity\StatsdSaveTimeRecordingEditEntity->attemptSave(Wikibase\DataModel\Entity\Item, string, integer, string, NULL, array)
#24 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/Api/ModifyEntity.php(329): Wikibase\Repo\Api\EntitySavingHelper->attemptSaveEntity(Wikibase\DataModel\Entity\Item, string)
#25 /srv/mediawiki/php-master/includes/api/ApiMain.php(1646): Wikibase\Repo\Api\ModifyEntity->execute()
#26 /srv/mediawiki/php-master/includes/api/ApiMain.php(616): ApiMain->executeAction()
#27 /srv/mediawiki/php-master/includes/api/ApiMain.php(587): ApiMain->executeActionWithErrorHandling()
#28 /srv/mediawiki/php-master/api.php(90): ApiMain->execute()
#29 /srv/mediawiki/php-master/api.php(45): wfApiMain()
#30 /srv/mediawiki/w/api.php(3): require(string)
#31 {main}"
},
servedby: "deployment-mediawiki-07"
}

I don't think this error is related to this change however..
But I can't verify it fully yet...
T277859: Exception caught: MediaWiki\User\UserEditTracker::getUserEditCount requires a user ID on beta