Closed
Bug 765632
Opened 12 years ago
Closed 12 years ago
Kuma: Need a way to set translation parent
Categories
(developer.mozilla.org Graveyard :: Localization, defect, P1)
developer.mozilla.org Graveyard
Localization
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lorchard, Assigned: groovecoder)
References
Details
(Whiteboard: u=user c=wiki p=3 s=2012-08-22 s=2012-08-29)
Migration was unable to establish translation parents for some pages. For example: https://developer-new.mozilla.org/en-US/docs/HTML/Element/button That page has translations in es and fr: {{ languages( { "es": "es/HTML/Elemento/button" , "fr": "fr/HTML/Element/Button" } ) }} But, the translation parents were not migrated. So, we need the ability to manually choose a new translation parent for pages to fix this situation.
Comment 1•12 years ago
|
||
Where would this appear? The "edit" page? Somewhere in "admin"?
Reporter | ||
Comment 2•12 years ago
|
||
I'd say Edit page, ideally. There should be a way for general wiki editors to correct translation relationships. Otherwise, we're limited to the handful of admins that exist to do the work.
Updated•12 years ago
|
Whiteboard: u=user c=wiki s=2012-07-03 p=
Updated•12 years ago
|
Whiteboard: u=user c=wiki s=2012-07-03 p= → u=user c=wiki s=2012-07-03 p=2
Comment 3•12 years ago
|
||
Les: How can we tell if a translation doesn't have a parent? Simply no parent_id? How can I tell if something is a translation? We should only show that new field if the translation doesn't have a parent, right?
Comment 4•12 years ago
|
||
My proposal for this ticket is: If no "parent_id" is present, show this field as an autocompleter, much like the link editor
Assignee | ||
Comment 5•12 years ago
|
||
Sounds good to me.
Comment 6•12 years ago
|
||
Friendly all aboard ping. We scheduled this one to be completed before the next sprint. How's it looking?
Updated•12 years ago
|
Whiteboard: u=user c=wiki s=2012-07-03 p=2 → u=user c=wiki s=2012-07-13 p=2
Updated•12 years ago
|
Whiteboard: u=user c=wiki s=2012-07-13 p=2 → u=user c=wiki s=2012-07-18 p=2
Comment 7•12 years ago
|
||
I current have the front end completed on this branch: https://github.com/darkwing/kuma/tree/set-trans-parent-765632 I attempted to complete the server side with these lines: https://github.com/darkwing/kuma/commit/fe4454f08e3634a85b14aafae17b10395d12c504 But upon submission, I receive the following error: [A revision must be based on a revision of the English document. Revision ID 891 does not fit those criteria.] Updating ticket as progress.
Assignee | ||
Comment 8•12 years ago
|
||
This is complicated by the fact that kitsune wants non-english revisions to be based_on corresponding documents' en-US revisions. MDN has always had some pages that were never based on en_US pages. We can break it by removing the constraint, but that will also break kitsune's feature that notifies localizers when an English document changes. (See bug 671717) So, we're deferring this feature to post-launch.
Updated•12 years ago
|
Updated•12 years ago
|
Comment 9•12 years ago
|
||
Moving out of the release as per our discussions last week.
No longer blocks: 756266
Updated•12 years ago
|
Component: Docs Platform → Localization
Updated•12 years ago
|
Whiteboard: u=user c=wiki p=2 → u=user c=wiki p=2 s=2012-08-22
Updated•12 years ago
|
Whiteboard: u=user c=wiki p=2 s=2012-08-22 → u=user c=wiki p=3 s=2012-08-22
Updated•12 years ago
|
Whiteboard: u=user c=wiki p=3 s=2012-08-22 → u=user c=wiki p=3 s=2012-08-22 s=2012-08-29
Updated•12 years ago
|
Assignee: nobody → lcrouch
Comment 11•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/3b8495434bc67a50a23841b92a50aa222c915dca fix bug 765632 - Adding parent-settings capabilities for translations Adding show block logic Progress Updating to front-end progress Progress https://github.com/mozilla/kuma/commit/6879b3f8bb8e2ec4631538a09efb20737e62d80c Merge pull request #575 from groovecoder/set-trans-parent-765632-squashed fix bug 765632 - Adding parent-settings capabilities for translations
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•4 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
•