Skip to content

Breaking changes to MediaWiki API #23

Description

@jimsafley

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'];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions