Closed Bug 1324022 Opened 7 years ago Closed 7 years ago

[l10n] locale content missing from the TKBs

Categories

(support.mozilla.org :: Lithium Migration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdziewonski, Unassigned, NeedInfo)

Details

Flags: needinfo?(musa.musa)
Can you give us some examples of messages from https://support.mozilla.org who should be in these categories for investigation?
(In reply to Musa from comment #1)
> Can you give us some examples of messages from https://support.mozilla.org
> who should be in these categories for investigation?

Hi Musa,

Respectively:

https://support.mozilla.org/es/products/firefox/basic-browsing-firefox
https://support.mozilla.org/ja/products/firefox/basic-browsing-firefox
https://support.mozilla.org/de/products/firefox/basic-browsing-firefox

(you can click through to see single articles in that branch of the content tree)
Hey Musa,

Probably the easiest summary is that everything that is non-english went into an archive version of the structure.  The content is on the migration site, just not in the right location.

To see that the content was migrated at all,German example. http://migration26.stage.lithium.com/t5/forums/searchpage/tab/message?filter=location&q=firefox&location=category:de

To see that they are in an Archive area, just reverse through the bread crumb of any article.  Previous migrations, it looked correct.  For some reason only this run did this (we think at least).
All uncategorized messages we migrate in Documents Archive (http://migration26.stage.lithium.com/t5/Documents-Archive/tkb-p/documents-archive) or Questions Archive (http://migration26.stage.lithium.com/t5/Questions-Archive/bd-p/question-archive) it depends on the message type.
I checked several messages from different boards in the examples above and I found that they have not topic ids (I followed the lates wiki_document mapping logic). This means that they will migrate every time in these categories. To fix this we need to add them in board mapping. The easy way to do is to complete the tables wiki_document_topics and wiki_document_products for all messages.
Using the English parent id as a map, the results look like this and can be fixed in the next run.

22667 messages was categorized
5888 still not categorized because they have no parents or their parents are not categorized too.

Latter will remain in archive.
Initial review looks like the content is appearing in the correct places now.

German:
http://migration26.stage.lithium.com/t5/Protect-your-privacy/tkb-p/Protect-Privacy-de
http://migration26.stage.lithium.com/t5/Contributor-Knowledge-Base/tkb-p/contributor-kb-de

Japanese:
http://migration26.stage.lithium.com/t5/Basic-Browsing/tkb-p/basic-browsing-kb-ja
http://migration26.stage.lithium.com/t5/Contributor-Knowledge-Base/tkb-p/contributor-kb-ja

Will continue to sanity check others.  Since all the EN containers were cloned to create the other language structure, not all nodes look like they will have content for all languages.  Seems like that is expected and would need confirmation from Mozilla.
Flags: needinfo?(mdziewonski)
Thank you for fixing the migration issue and confirming, Scott.

Yes, some nodes may be empty due to missing content. This is expected.
Flags: needinfo?(mdziewonski)
Michal, is this fixed?
Flags: needinfo?(mdziewonski)
Looks fixed to me.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mdziewonski)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.