Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes to MediaWiki API #23

Open
jimsafley opened this issue Jul 18, 2012 · 0 comments
Open

Breaking changes to MediaWiki API #23

jimsafley opened this issue Jul 18, 2012 · 0 comments

Comments

@jimsafley
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant