AbdealiJK created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.
TASK DESCRIPTION
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.
TASK DETAIL
https://phabricator.wikimedia.org/T137009
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: AbdealiJK
Cc: Aklapper, Zppix, pywikibot-bugs-list, AbdealiJK, Mdupont, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs