Thread:Manual talk:Pywikibot/Difference between link and refer/reply

link is all the links on a page. So if your page content was Page1 Page2, it would use those two pages. refer is basically Special:WhatLinksHere, or all the pages that link to the page provided.