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

Mediawiki warning clogging up the logs #234

Closed
philippbayer opened this issue Jan 18, 2016 · 4 comments
Closed

Mediawiki warning clogging up the logs #234

philippbayer opened this issue Jan 18, 2016 · 4 comments

Comments

@philippbayer
Copy link
Member

Error is:

MediaWiki::APIError: API error: code 'warning', info 'API warning: Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query.'

Related issue in the gem:

jpatokal/mediawiki-gateway#69

Issue-page says there's an "official" mediawiki gem now at https://github.com/wikimedia/mediawiki-ruby-api so the gem we're using is likely to be deprecated and won't be "fixed"

So we can do two things:

a) just put in the :ignorewarnings => true into the MediaWiki::Gateway.new call (dodgy, may hide important other warnings)
b) switch to the new gem (possibly harder, but better for future, good to already have tests :P)

Any votes?

@philippbayer
Copy link
Member Author

See #217

TIL: if you have a PR open for a branch (in this case master) github of course adds your new commits to that PR instead of opening a new one 😵

@gedankenstuecke
Copy link
Member

#217 did not fix this, as @philippbayer reversed the changes, so we still need to switch or ignore warnings.

@gedankenstuecke
Copy link
Member

This is now done thanks to #257, right?

@philippbayer
Copy link
Member Author

Yes, this particular issue is done

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

2 participants