[go: up one dir, main page]

Page MenuHomePhabricator

Add title() to class MediaInfo in Pywikibot
Closed, ResolvedPublicFeature

Description

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.

Event Timeline

I'm interested on contributing, as it seems a great first issue for a python coder, but a noob in the project like me :)

Change #1069624 had a related patch set uploaded (by Aurorakiitaja; author: Aurorakiitaja):

[pywikibot/core@master] Add title function to MediaInfo.

https://gerrit.wikimedia.org/r/1069624

Change #1069624 merged by jenkins-bot:

[pywikibot/core@master] Add title function to MediaInfo.

https://gerrit.wikimedia.org/r/1069624