Link to kLanguageInfoTable broken
Categories
(WebExtensions :: General, defect, P5)
Tracking
(Not tracked)
People
(Reporter: k-l-p, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Steps to reproduce:
On the page
https://webextension-api.thunderbird.net/en/128-esr-mv2/i18n.html
it is stated: "An ISO language code such as en or fr. For a complete list of languages supported by this method, see kLanguageInfoTable.", but the link to kLanguageInfoTable is not working anymore.
Actual results:
see steps to reproduce
Expected results:
steps to reproduce
Comment 1•22 days ago
|
||
I reproduced the issue. Trying to access http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languages/internal/languages.cc which is the page linked to kLanguageInfoTable
will redirect the user to https://src.chromium.org/ which does not provide the requested resources, stating “This site used to contain a view of the SVN repo used in the early days of Chromium.” etc.
Comment 2•18 days ago
•
|
||
We do have the update url linked from this MDN page: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/detectLanguage#return_value
Let's update the one in our schema to match the update url: https://source.chromium.org/chromium/chromium/src/+/main:third_party/ced/src/util/languages/languages.cc;l=35;drc=45c3d4a3d7ee40adf271748f3c4177fa293800e1
Comment 3•18 days ago
|
||
Hi John, given that Thunderbind seems to be deriving the api docs from the schema descriptions, could you pick this up and fix the link?
Comment 4•18 days ago
|
||
Yes, we will pick this up in one of our next documentation updates. Thanks for fixing it in the schema files!
Description
•