Closed Bug 1196100 Opened 10 years ago Closed 10 years ago

Broken link of zh-TW of /docs/Web/HTML/Element

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: irvin, Unassigned)

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details select zh-TW at https://developer.mozilla.org/en-US/docs/Web/HTML/Element not found, but click "add translate" and choose zh-TW will direct to https://developer.mozilla.org/en-US/docs/Web/HTML/Element$translate?tolocale=zh-TW And cannot set translate source for https://developer.mozilla.org/zh-TW/docs/Web/HTML/Element/HTML_%E5%85%83%E7%B4%A0 (when save will show 404)
It looks like a document with the slug: https://developer.mozilla.org/zh-TW/docs_zh-TW/docs/Web/HTML/HTML_%E5%85%83%E7%B4%A0 is inaccessible and use the "spot" for https://developer.mozilla.org/zh-TW/docs/Web/HTML/Element/HTML_%E5%85%83%E7%B4%A0 Using the admin panel, I wasn't able to find the document id for the former. The solution may be as simple as to remove the translation parent from this document. Then setting a new translate source should work. ni/ Luke to see if he can help us find the id.
Component: General → Wiki pages
Flags: needinfo?(lcrouch)
Product: Developer Documentation → Mozilla Developer Network
Looks like this is the document in the admin site: https://developer.mozilla.org/admin/wiki/document/1196/ Found by listing documents in the zh-TW locale with the English parent: https://developer.mozilla.org/admin/wiki/document/?locale=zh-TW&parent=725 There are 12 "sibling" documents in the same zh-TW hierarchy: https://developer.mozilla.org/admin/wiki/document/?parent_topic__exact=77589 All of them are accessible, which suggests to me that the problem is actually with the %E5 characters in the slug. We may be able to fix this by simply updating the slug to something without % characters. Irvin - can you suggest a different slug for the page without % characters?
Flags: needinfo?(lcrouch) → needinfo?(irvin)
Luke, our local team best practice is just keep the same slug as original English version. Can you change the slug to /web/HTML/Element?
Flags: needinfo?(irvin)
Okay, there was an old redirect at /Web/HTML/Element already, so I changed its slug and updated this document's slug. I cleared my browser cache (to clear the redirects) and I was able to hit: https://developer.mozilla.org/zh-TW/docs/Web/HTML/Element And to click it from the en-US page "Languages" menu.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thanks!
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.