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

Added rvslots=main to the MW API revision request. #1047

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

Pchelolo
Copy link
Contributor

@mdholloway
Copy link
Contributor

Looks like there's a call that needs fixing in a test, too: https://github.com/wikimedia/restbase/blob/master/test/features/errors/invalid_request.js#L32-L42

@Pchelolo
Copy link
Contributor Author

Oh thank you, great find @mdholloway

@mdholloway
Copy link
Contributor

Actually, now that I look closer, why are you requesting contentmodel? It doesn't appear to be used.

@Pchelolo
Copy link
Contributor Author

Indeed we don't @mdholloway. Maybe we did before... Let's remove it

@Pchelolo
Copy link
Contributor Author

Let's remove it

Actually, let's not remove it as a part of this commit, but make a separate one. It's not related to this at all.

@mdholloway
Copy link
Contributor

The reason I bring it up is because I think if you're not requesting the content or contentmodel in rvprop then you don't need to worry about rvslots.

@Pchelolo
Copy link
Contributor Author

Hm... ok. let's redo this :)

It's not needed and usage of it without rvslots is deprecated.
Bug: https://phabricator.wikimedia.org/T201974

Change-Id: I2b6a05d6acfcf9953340ab3c8d7f2b739f118211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants