Permalink
Commits on Nov 10, 2016
  1. Merge pull request #15 from fiddlerwoaroof/master

    Have WITH-MEDIAWIKI properly evaluate its argument
    
    Thanks fiddlerwoaroof
    bobbysmith007 committed on GitHub Nov 10, 2016
Commits on Oct 21, 2016
  1. Have WITH-MEDIAWIKI properly evaluate its argument

    Adds a function that checks the type of the passed object at runtime
    rather than at macroexpansion time and then modifies the macro to
    generate a call to this function.  This way, if the url of the mediawiki
    site is being computed, it won't misinterpret the form that generates
    the url as the instance of mediawiki to be worked with.
    Ed L committed Oct 21, 2016
Commits on May 23, 2016
  1. Merge pull request #14 from PuercoPop/lisp-unit2

    Migrate test suite to lisp-unit2
    bobbysmith007 committed May 23, 2016
  2. Merge pull request #13 from PuercoPop/patch-1

    Leave *mediawiki* unbound by default
    bobbysmith007 committed May 23, 2016
Commits on May 21, 2016
  1. Migrate to lisp-unit2 test framework

    The previous test suite didn't compile with the current version of the
    previous test framework, lisp-unit.
    
    - Don't use cl-mediawiki package in the test-package due to symbol
      conflicts. Both cl-mediawiki and lisp-unit2 export the symbol results
    - Instead of loading the cl-mediawiki-test system as part of the test
      operation of the cl-mediawiki system, mark it as a dependency in order
      to run the test operation.
    - Moved cl-mediawiki-test system definition to its own file
    - Removed reporting helper functions
    PuercoPop committed May 21, 2016
Commits on May 20, 2016
  1. Leave *mediawiki* unbound by default

    This presents the user a more clear error message when calling the API without binding *mediawiki* first.
    PuercoPop committed May 20, 2016
Commits on Dec 2, 2014
  1. Merge pull request #8 from whalliburton/master

    more whitespace removal and LIST-ALL-PAGES
    
    Looks, good though there is a wanged doc string
    bobbysmith007 committed Dec 2, 2014
Commits on Oct 2, 2014
  1. SITE-INFO

    whalliburton committed Oct 2, 2014
Commits on Sep 29, 2014
  1. Merge pull request #7 from whalliburton/master

    Untabify and remove trailing whitespace.
    bobbysmith007 committed Sep 29, 2014
Commits on Jan 1, 2014
Commits on Oct 18, 2013
  1. fix symbol conflict

    Use `results` from `cl-mediawiki`, resolving conflict between
    `cl-mediawiki:results` and `lisp-unit:results`, when we try to `:use`
    both in `cl-mediawiki-tests`.
    
    refs Programming:#310
    ryepup committed Oct 18, 2013
Commits on Oct 31, 2012
  1. lisp-unit compatibility

    ryepup committed Oct 31, 2012
  2. lisp-unit compatibility

    ryepup committed Oct 31, 2012
Commits on Oct 16, 2012
  1. updated for new lisp-unit

    bobbysmith007 committed Oct 16, 2012
Commits on Sep 11, 2012
  1. don't freak out on deprecation warnings

    The upload API call can sometimes return warnings based on the `watch`
    parameter, which has been deprecated in favor of `watchlist`.  When it
    does, it returns two XML nodes named `<upload>`, and
    `check-api-response` was only looking at the first one.
    
    On my mediawiki (1.19.1), the XML comes back like:
    
    `<api><warnings><upload>...</upload></warnings><upload>...</upload></api>`
    
    We care about the data in the second `<upload>` node.  This patch says
    if there are two `<upload>` nodes found, use the second one.
    
    I'm not sure what's the right thing to do here; I could amend
    cl-mediawiki to follow the mediawiki API, remove `:watch` and add
    `:watchlist`, but that drops support for older mediawiki versions, and
    it seems constraining to limit cl-mediawiki to recent mediawiki
    versions only.
    ryepup committed Sep 11, 2012
Commits on Aug 1, 2012
  1. Merge pull request #6 from zort/master

    Added support for get-image-info and additional parameters to upload
    bobbysmith007 committed Aug 1, 2012
Commits on Jul 30, 2012
  1. Added get-image-info.

    Eitan Postavsky committed Jul 30, 2012
Commits on Jul 29, 2012
  1. Added some parameters to upload.

    Eitan Postavsky committed Jul 29, 2012
Commits on May 9, 2012
  1. export prepend-text-to-page

    ryepup committed May 9, 2012
Commits on May 8, 2012
  1. added set-section-content, which accepts a page, rvsection, and text

    Uses rvsection as returned by list-page-sections. One funky bit I'm not
    fond of: the new text must contain the markup for the section header. So
    if you use list-page-sections to figure out that "== foo ==" is rvsection 4,
    then when using set-section-content your text has to start with "== foo =="
    or else the section will be lost. If the new text does not start with
    "== foo ==", the content will be saved as the end of rvsection 3, and
    rvsection 4 will now refer to a different section.
    
    Right now we throw an error if the text doesn't start with "==", which I
    think is the least surprising way to handle it.
    ryepup committed May 8, 2012
  2. added rvsection to list-page-sections output

    This number is meant for the :rvsection param of get-page-content
    ryepup committed May 8, 2012
  3. whitespace / formatting cleanup

    ryepup committed May 8, 2012