Translations:Manual:LinkBatch.php/17/en

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