Page MenuHomePhabricator

Come up with a way for WikiLambda to register Language objects that MediaWiki doesn't generally support for our special languages, so that the rest of the MW stack understands them
Open, LowestPublic

Event Timeline

MediaWiki already lets you create Language objects for any language code, even if it's not otherwise supported, even completely bogus ones, as long as they don't contain special characters. Consider e.g. the existence of https://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ownwork.

Change 858637 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/WikiLambda@master] Trust LanguageFactory to construct Language objects

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

MediaWiki already lets you create Language objects for any language code, even if it's not otherwise supported, even completely bogus ones, as long as they don't contain special characters. Consider e.g. the existence of https://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ownwork.

Yup, indeed; I'll correct this title to be clearer.

Jdforrester-WMF renamed this task from Come up with a way for WikiLambda to create Language objects that MediaWiki doesn't generally support for our special languages to Come up with a way for WikiLambda to register Language objects that MediaWiki doesn't generally support for our special languages, so that the rest of the MW stack understands them.Nov 21 2022, 2:33 PM

Change 858637 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Trust LanguageFactory to construct Language objects

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

Is there anything else to be done here?

matmarex claimed this task.

I assume it's done then.

Is there anything else to be done here?

I don't think anything's been done here yet?

matmarex removed matmarex as the assignee of this task.

I guess I misunderstood what this task was about then, because I thought that my patch is fixing it. Don't mind me then…