Translations:Manual:LinkBatch.php/5/en

Then add each linked page to the batch. There are two ways to do this: with the linked page's Title object, or with the linked page's namespace and title string.