Page MenuHomePhabricator

Pass down the wgLexemeLanguageCodePropertyId to the 'new-lexeme-special-page' application via the config
Closed, ResolvedPublic

Description

Pass down the wgLexemeLanguageCodePropertyId to the 'new-lexeme-special-page' application via the config

Hints:

Please check the files
extensions/WikibaseLexeme/WikibaseLexeme.resources.php and extensions/WikibaseLexeme/WikibaseLexeme.resources.php

and see how it is implemented in extensions/WikibaseLexeme/resources/special/new-lexeme/src/components/SpellingVariantInput.vue

Event Timeline

Change 778283 had a related patch set uploaded (by Noa wmde; author: Noa wmde):

[mediawiki/extensions/WikibaseLexeme@master] Pass $wgLexemeLanguageCodePropertyId to special-new-lexeme

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

Change 778283 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Pass $wgLexemeLanguageCodePropertyId to special-new-lexeme

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

I think this is done (getting the language code out of mw.config was included in T305539).