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)

x86
macOS
defect
Not set
normal

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.
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.
I also don't think this migration is a blocker on translation features. They can be implemented in parallel.
Blocks: 710713
No longer blocks: 728417
Target Milestone: 2.6 → ---
Whiteboard: u=l10n c=wiki p=2 → u=l10n c=wiki p=2 s=2012-04-24
Summary: wiki: migrate non-English pages' English equivalents as "parents" → wiki testday: migrate non-English pages' English equivalents as "parents"
Assignee: nobody → lcrouch
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
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
Version: Kuma → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.