Closed Bug 418444 Opened 16 years ago Closed 16 years ago

Show translated titles/links for Top 10 list

Categories

(support.mozilla.org :: Knowledge Base Articles, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: djst, Assigned: nkoth)

Details

The top 10 list we're using on the start page doesn't take into account the locale fallback, meaning it will show the en-US page even though there is a translation of the article available.
Assignee: nobody → nelson
There are 2 fixes here that I have done (to be committed soon)

1) the automatic list at tiki-wiki_rankings.php now shows a "translated list" based on the same fallback scheme as if you are simply visiting the page. Duplicate page names are not listed.

2) manual links in the form of ((Profiles)) are translated to the pagename of the language you would be shown after clicking on the link. This affects not just the front page but links everywhere.
This now works on support-stage:
try
http://support-stage.mozilla.org/uk/kb/Firefox+Support+Home+Page
vs
http://support-stage.mozilla.org/en-US/kb/Firefox+Support+Home+Page
or just 
http://support-stage.mozilla.org/kb/Firefox+Support+Home+Page, with different browser settings.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Works on the live site.

http://support.mozilla.com/uk/kb/Firefox+Support+Home+Page
Status: RESOLVED → VERIFIED
http://support.mozilla.com/uk/kb/Firefox+Support+Home+Page shows links to ukranian pages even if you're not logged in. The pages are just staging articles, so the user is presented with a login page instead of seeing the en-US page. :(
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
this is fixed on support-stage. the only Ukrainian articles that are seen are those that are actually accessible.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
It still has the main issue there, namely the fact that it tries to access a page that doesn't exist. The link caption now changed to "Basic Troubleshooting," but the url is http://support-stage.mozilla.org/uk/kb/Basic+Troubleshooting, meaning it will try to access the Ukranian staging article.
hrm. the bl=n is going to the wrong place. I will correct this. No need to reopen the bug.
ok. its correct now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.