Translations:Manual:Page table/6/en

Then, $latest is used to search the $revision table for $id, and $text_id is obtained in the process.