I'm importing wiki pages based on their pageid (or url).
Lest's say I've imported a page and I've stored, among others, its language (i.e EN).
If I'm to import a translated page of the above EN version, by receiving only a new pageid (or url), how can I link between the two so I can store them in my database under the same topic id (but with 2 different languages) ?
Using the MediaWiki API of course.