Pywikibot: Add hyperlinks in docstrings to the MediaWiki documentation


Many APISite and DataSite methods are thin wrappers around a module of the MediaWiki API, and the docstrings for these methods should include a link to the API:<foo> pages on

Find five APISite or DataSite methods which are a thin wrapper around a module of the MediaWiki API , and add the appropriate link to the docstring. Links should be added using epytext syntax. If the method does not already have a docstring, write a basic docstring for the method.

Pywikibot is a Python-based framework to write bots for MediaWiki. See for more information. See for a short introduction to using Pywikibot. Patches can be submitted via Gerrit (you need a account). See After you have successfully claimed this task on this site please do use the task in Phabricator for communication instead. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at and the #pywikibot IRC channel (see ).

Task tags

  • python
  • pep257
  • sphinx
  • pywikibot
  • epytext

Students who completed this task


Task type

  • chrome_reader_mode Documentation / Training