Skip to content
Snippets Groups Projects
  1. Sep 01, 2024
    • Adam Williamson's avatar
      Drop support for old-style continuation · 8fdfde0c
      Adam Williamson authored
      new-style continuation is available since 1.21, and we are
      already forcing it for mw 1.21-1.25 in `api` by adding `continue`
      to kwargs if it's not there. Old-style continuation is only
      available by passing `rawcontinue=` and is not recommended.
      I don't think we need to maintain support for it in the List
      class. Theoretically it could maybe still be used if someone is
      passing `rawcontinue=""` as an arg to `List` or a subclass of it
      (and that overrides the `continue=` that we force in - I'm not
      sure which wins), but I can't imagine why anyone would want to do
      that.
      
      This improves test coverage because old-style continuation is
      uncovered at present. I'd rather remove it than write a test for
      it.
      
      See: https://www.mediawiki.org/wiki/API:Continue
      
      
      
      Signed-off-by: default avatarAdam Williamson <awilliam@redhat.com>
      8fdfde0c
  2. Aug 21, 2024
    • Marc Troelitzsch's avatar
      refactor!: Use f-strings for string formatting · 658d5829
      Marc Troelitzsch authored
      This commit refactors the codebase to consistently use Python 3.6
      f-strings for string concatenation and interpolation.
      
      BREAKING CHANGE: This update increases the minimum required Python
      version from 3.5 to 3.6. Python 3.5 reached end-of-life in September
      2020 (~4 years ago) and has been dropped from most distributions, so the
      impact on users should be minimal.
      658d5829
  3. Aug 11, 2024
  4. Feb 16, 2024
  5. Jan 27, 2024
  6. May 28, 2020
  7. Dec 12, 2019
  8. Aug 04, 2019
  9. Aug 03, 2019
  10. Dec 09, 2018
  11. Nov 22, 2018
  12. Nov 04, 2018
  13. Jul 31, 2018
  14. Jul 01, 2018
  15. Jun 16, 2013
  16. May 13, 2013
  17. May 11, 2013
  18. Mar 22, 2013
  19. Feb 26, 2013
  20. Feb 22, 2013
  21. May 06, 2011
  22. Apr 07, 2010
  23. Nov 14, 2009
  24. Oct 29, 2008
  25. May 12, 2008
  26. Apr 13, 2008
  27. Feb 08, 2008
  28. Feb 05, 2008
Loading