Skip to content
Snippets Groups Projects
  1. Feb 23, 2017
    • Bryan Davis's avatar
      Send parse requests via POST (#147) · 64c83210
      Bryan Davis authored
      In 1d617702 the Site.parse() command was changed from GET to POST. This
      effectively limits the amount of wikitext that can be rendered to what
      will fit in the URI limit of the webserver serving the MediaWiki site.
      We could do something really tricky to look at the size of the text
      argument and switch between GET and POST based on that, but it seems
      much simpler to just stick with POST for this action.
      
      Downstream bug: https://phabricator.wikimedia.org/T158715
      64c83210
  2. Dec 02, 2016
  3. Nov 10, 2016
  4. Nov 07, 2016
  5. Oct 24, 2016
  6. Oct 23, 2016
  7. Oct 17, 2016
  8. Oct 10, 2016
  9. Sep 22, 2016
  10. Sep 20, 2016
  11. Aug 23, 2016
    • Dan Michael O. Heggø's avatar
      Refactor List.__next__ · 273d9620
      Dan Michael O. Heggø authored
      To avoid stuff like #135 from happening, make it more transparent what's
      going on in `List.__next__` by
      - replacing the check for `full=True` with
        `isinstance(self, GeneratorList)`
      - replacing the recursive call to `List.__next__` with
        `item = six.next(self._iter)`. This means one line of code is
        duplicated, but I think it's pays of in term of readability.
      273d9620
    • Dan Michael O. Heggø's avatar
      c4de7069
    • Dan Michael O. Heggø's avatar
      Quickfix for #135 · 503dd65e
      Dan Michael O. Heggø authored
      Putting back an explicit reference to `List` to avoid
      `GeneratorList.__next__` being called.
      503dd65e
  12. Aug 21, 2016
Loading