Most page (related) objects in Pywikibot have the title() function. That seems to be missing in the MediaInfo class. Should be added and function same way as ItemPage.title() ( https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.html#pywikibot.ItemPage.title ) and return something like "M1234" or "https://commons.wikimedia.org/entity/M1234" when full url is requested.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add title function to MediaInfo. | pywikibot/core | master | +11 -0 |
Event Timeline
Comment Actions
I'm interested on contributing, as it seems a great first issue for a python coder, but a noob in the project like me :)
Comment Actions
Change #1069624 had a related patch set uploaded (by Aurorakiitaja; author: Aurorakiitaja):
[pywikibot/core@master] Add title function to MediaInfo.
Comment Actions
Change #1069624 merged by jenkins-bot:
[pywikibot/core@master] Add title function to MediaInfo.