This issue was converted from https://jira.toolserver.org/browse/DBQ-144.
Summary: Query to create translated interlanguage links
Issue type: Task - A task that needs to be done.
Priority: Major
Status: Done
Assignee: Hoo man <hoo@online.de>
From: Stavros Giannou <afaton@yahoo.com>
Date: Fri, 01 Jul 2011 19:11:57
I want to be able to create a list of interlanguage links of Greek articles into all other available languages in csv or tab delimited format. I.e. 1st column is Greek article, 2nd column is article in English (if available), 3rd column article in French (if available), something similar to this really:
https://jira.toolserver.org/browse/DBQ-116
http://toolserver.org/~hoo/dbq/dbq-116.txt
But I'm not sure how to modify the query below.
So far I have been able to create mappings to one language only at a time, i.e:
SELECT
page.*,
langlinks.*
FROM
page
JOIN langlinks
ON langlinks.ll_from = page_id
WHERE
langlinks.ll_lang = "[language id]"
Version: unspecified
Severity: major