titletranslate — Interwiki Title Translator#

Title translate module.

titletranslate.translate(page=None, hints=(), auto=True, removebrackets=False, site=None)[source]#

Return a list of links to pages on other sites based on hints.

Entries for single page titles list those pages. Page titles for entries such as “all:” or “xyz:” or “20:” are first built from the page title of ‘page’ and then listed. When ‘removebrackets’ is True, a trailing pair of brackets and the text between them is removed from the page title. If ‘auto’ is true, known year and date page titles are autotranslated to all known target languages and inserted into the list.

Parameters:
  • auto (bool) –

  • removebrackets (bool) –

Return type:

List[Link]