Page MenuHomePhabricator

Make global userpage Babel links point to Meta instead of locally.
Open, Needs TriagePublic

Description

Make global userpage Babel links point to Meta instead of locally.

Now it is fixed with local hack on Meta overriding TWN interface messages, which in its own turn seems to be the culprit behind T64714 unless I misunderstand inferences made there. This means that this task should be fixed a proper way instead of the current one.

Event Timeline

Please provide an example page, I'm not sure what links you're referring to.

Because internal links on global user pages point to the wiki on which the page is shown, Babel boxes on global user pages would by default be full of redlinks when viewed from most wikis. To avoid this, Meta has customized the Babel-*-n messages to explicitly link to Meta with [[m:...|...]].

Due to T57473, some slightly weird logic in Babel (https://phabricator.wikimedia.org/diffusion/EBAB/browse/master/BabelBox/LanguageBabelBox.php;e19388dd09e404e2071420d6803568822ee1d95d$142-159) doesn't do what it is supposed to do. I analysed this bit of code a long time ago, but can't remember what happens exactly.

Net result is, we end up with https://meta.wikimedia.org/wiki/User:This,_that_and_the_other/Babel saying "This user has a native understanding of English" instead of "This user has a native understanding of Gronings".