Last modified: 2014-03-21 18:56:03 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 T36272, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34272 - If a message was in wmf-branch and isn't in trunk (and developers expect it to fall back to en), it cannot be updated by LU.
If a message was in wmf-branch and isn't in trunk (and developers expect it t...
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
LocalisationUpdate (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-08 15:46 UTC by Liangent
Modified: 2014-03-21 18:56 UTC (History)
3 users (show)

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


Attachments

Description Liangent 2012-02-08 15:46:52 UTC
From r103763, comment #c30191:

If a de message was in wmf-branch and isn't in trunk (and developers expect it to fall back to en), it cannot be updated by LU.

Some ways to fix:

* Iterate over all keys in English where English text is not changed when updating (= building cache), then calculate (resolve fallback now) its message text in every language and store it in cache. When recaching the message, simply merging cached data into main data.
* or, include English in l10ncache.
Comment 1 Niklas Laxström 2014-03-21 08:56:29 UTC
I don't understand when this situation would happen. WMF branches are not supposed to have code which is not in master first (expect security fixes).

Unless I have misunderstood, it is probably not worth it to try to solve this case.
Comment 2 Liangent 2014-03-21 18:56:03 UTC
(In reply to Niklas Laxström from comment #1)
> I don't understand when this situation would happen. WMF branches are not
> supposed to have code which is not in master first (expect security fixes).
> 
> Unless I have misunderstood, it is probably not worth it to try to solve
> this case.

If I remember what I thought correctly... sometimes developers remove some messages from trunk in i18n files (as described in comment 0: the message is expected to be identical to the English one, but got translated somehow, by twn users for example, so the developer is cleaning it up), so at this time, trunk version shows English message, while wmfX version shows a localized message (which was but is no longer in trunk), and LU can't make wmfX show English message.

Anyway in our current deployment cycle, this very rare case lasts for at most one week. I don't think it's something important but it's still a bug which could occur in real world...

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


Navigation
Links