Closed
Bug 735888
Opened 14 years ago
Closed 13 years ago
wiki testday: migrate non-English pages' English equivalents as "parents"
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: groovecoder, Assigned: groovecoder)
References
Details
(Whiteboard: u=l10n c=wiki p=2 s=2012-04-24)
In Kuma, translation features are driven by the Document.parent relationship.
When migrating non-English pages, we should migrate or update the English equivalent page as the parent of the non-English page.
Comment 1•14 years ago
|
||
We've discussed this before, and it's probably not entirely feasible by automatic means. That's why I've mentioned that we should give users the ability to manually associate pages by their translation relationship.
The only data available for migrating this are the `wiki.languages` template calls, which look like this:
{{ wiki.languages( { "es": "es/CSS/Transiciones_de_CSS", "ja": "ja/CSS/CSS_transitions" } ) }}
We *might* be able to parse those to get hints and set up some of the parent / child relationships. However, these are manually-inserted template calls and are not exhaustive.
Maybe that will be a good-enough result - though we will need the ability to manually edit relationships going forward.
Comment 2•14 years ago
|
||
I also don't think this migration is a blocker on translation features. They can be implemented in parallel.
Assignee | ||
Updated•14 years ago
|
Target Milestone: 2.6 → ---
Assignee | ||
Updated•14 years ago
|
Whiteboard: u=l10n c=wiki p=2 → u=l10n c=wiki p=2 s=2012-04-24
Assignee | ||
Updated•14 years ago
|
Summary: wiki: migrate non-English pages' English equivalents as "parents" → wiki testday: migrate non-English pages' English equivalents as "parents"
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lcrouch
Comment 3•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/2cf65bd1a5f9c8e1599d165601a7b2d31a0b446b
Fix Bug 735888 fill parent_id using MindTouch wiki.languages
https://github.com/mozilla/kuma/commit/7eb23be8459ec9b77dc41a2ebac90a4ccc5ca803
Fix Bug 735888 always build language tree after migration
https://github.com/mozilla/kuma/commit/ea27e762c8d81366d3b5a266e0d12f3d1ffcba30
Merge pull request #165 from groovecoder/735888-make-translation-rels
Fix Bug 735888 fill parent_id using MindTouch wiki.languages
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 4•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/c371d126442cd0ef14ba66c2ae5450cdd42a10a4
bug 735888: Add option to skip migrating translated child documents
https://github.com/mozilla/kuma/commit/004c7bd5365aaee02f6cb98d87d26504f54bca1e
Merge pull request #167 from lmorchard/skip-translations
bug 735888: Add option to skip migrating translated child documents
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Docs Platform → Editing
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•