I propose to give up 1.27-1.30 MediaWiki support with Pywikibot 10 which perhaps comes at the beginning of 2025.
MW 1.27 is a LTS published 2016 but the life cycle ended in 2020 already. MW 1.28-1.30 had reached their life time in 2018-2020 too. Anyway it is strictly recommeded to use MW1.38+ for production systems and per T259771 upgrades can be made from two LTS releases only.
Advantages
The following modules can be simplified if dropping old code (1):
- maxarticlesize is available from siteinfo
- sparql_endpoint and concept_base_uri used by SparqlQuery can always be used
- protection_levels can always be found via APISite or via siteinfo as restrictions levels
- messagecode is defined during login
- no error bounds are required for WbQuantity
MW support
Older MW versions are still supported by older Pywikibot releases found by its tags:
| MW release | Latest pwb release |
|---|---|
| 1.14 | Pywikibot 4.3 |
| 1.19 | Pywikibot 5.6 |
| 1.23 | Pywikibot 7.7.3 |
| 1.27 | Pywikibot 9.5/9.6 |