Skip to content
Snippets Groups Projects
  1. Sep 16, 2024
  2. 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
  3. 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
  4. Aug 11, 2024
  5. Feb 16, 2024
  6. Jan 27, 2024
  7. May 28, 2020
  8. Dec 12, 2019
  9. Aug 04, 2019
  10. Aug 03, 2019
  11. Dec 09, 2018
  12. Nov 22, 2018
  13. Nov 04, 2018
  14. Jul 31, 2018
  15. Jul 01, 2018
  16. Jun 16, 2013
  17. May 13, 2013
  18. May 11, 2013
  19. Mar 22, 2013
  20. Feb 26, 2013
  21. Feb 22, 2013
  22. May 06, 2011
  23. Apr 07, 2010
  24. Nov 14, 2009
  25. Oct 29, 2008
  26. May 12, 2008
  27. Apr 13, 2008
  28. Feb 08, 2008
  29. Feb 05, 2008
Loading