Last modified: 2013-02-26 21:03:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45376 - New API change has a pending question about language variants
New API change has a pending question about language variants
Status: NEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://gerrit.wikimedia.org/r/50036
: newparser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 20:27 UTC by Mark Holmquist
Modified: 2013-02-26 21:03 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2013-02-25 20:27:59 UTC
A saga:

Parsoid is trying to handle language variant conversion per bug 41716. We figured we'd need to make sure conversion was enabled on the wiki, so we added an API return value for that in the siprop=general output, which is Gerrit change #50036. The pending question is whether the list of variants should be returned if the wiki disables variant conversion. As I understand variants, and as bug 33224 seems to talk about them, they don't necessarily need to be used for variant conversion, but could be used for other purposes. I was hoping the i18n team could either make a decision on this front or at least impart some wisdom.

Thanks much!
Comment 1 Siebrand Mazeland 2013-02-25 21:22:38 UTC
There's very little knowledge around on language variants with automatic script conversion, even within the Language Engineering team. I've added Liangent to CC. Hope he can shed some light on this.
Comment 2 Liangent 2013-02-26 04:49:56 UTC
Gerrit change #50036 doesn't look like a good solution to me. Parsoid works on pages, and some pages may always have language conversion disabled or enabled (like [[zh:MediaWiki:Conversiontable/zh-cn]]). You may want to expose $wikiPage->makeParserOptions()->getDisableContentConversion() and $wikiPage->makeParserOptions()->getDisableTitleConversion() in some page related data.
Comment 3 Liangent 2013-02-26 05:06:04 UTC
BTW. A list of available variants is useful for conversion.

The output of -{zh-cn:A;zh-tw:B;}- changes when validity of variant codes zh-cn and zh-tw change.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links