The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
This is part of a larger request on enwiki (link). The bot will create items for pages that don't exist yet by using the existing links. If that throws an error because some sitelinks are already in use, the bot will attempt to merge the items if the existing links are identical to the local ones. I've done some testing with my script by importing category pages under my own account (example). Legoktm (talk) 13:35, 15 February 2013 (UTC)[reply]