Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Breaking changes to MediaWiki API #23

Open
jimsafley opened this Issue · 0 comments

1 participant

@jimsafley
Owner

A change to the MediaWiki API, described here, may eventually require a small change to Scripto's MediaWiki API client. I'm not sure why the change is described as backwards compatible since it appears to have changed a parameter name in the response. (The description of the changes are pretty confusing, but the commit may shed some light.)

For now the only change that may need to happen is in Scripto::getAllDocuments():

$from = $response['query-continue']['allpages']['apfrom'];
// changes to
$from = $response['query-continue']['allpages']['apcontinue'];

Another change, described here, will eventually require a small change to the client. Again, this change should not be described as backwards compatible.

For now the only change that will need to happen is in Scripto::getRecentChanges():

$start = $response['query-continue']['recentchanges']['rcstart'];
// changes to
$start = $response['query-continue']['recentchanges']['rccontinue'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.