Currently, I can use page.title() with the kwarg asLink=True to create a link. Example:
>>> page=pywikibot.FilePage(site, 'File:Codabar-example.svg') >>> page.title(asLink=True) u'[[File:Codabar-example.svg]]'
In commons, I want to make a link to a page, but specify some additional options, like the size of the image: https://www.mediawiki.org/wiki/Help:Images#Size_and_frame
I can't seem to find any way of getting the link to use for that.