HomePhabricator

Upgrade pywikibot to latest version 6.6.2, and add mwparserfromhell

Description

Upgrade pywikibot to latest version 6.6.2, and add mwparserfromhell

Upgrade pywikibot from 3.0.202007031 to latest version 6.6.2

Last bump was in August 2020 (with 907c6fe).

Also add mwparserfromhell, as a wikitext parser is now
a requirement for pywikibot.

Also change deprecated syntax:

  • handleArgs --> handle_args
  • pagegenerators.ReferringPageGenerator --> template.getReferences
  • ImagePage --> FilePage
  • remove test on `page.isEmpty, as the method does not exist anymore (assuming it does not do anything important).
  • Accordingly, remove test_addCommonsTemplate_skip_on_empty

Bug: T295238
Change-Id: Iddb2894243320e8b1a25dbfae7d4ffeedaf6b494

Details

Provenance
JeanFredAuthored on Nov 8 2021, 8:58 AM
jenkins-botCommitted on Jan 14 2022, 8:30 PM
Parents
rTHER1e5e614737ca: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/27/737327/3
ChangeId
Iddb2894243320e8b1a25dbfae7d4ffeedaf6b494