mahmoud / wapiti

Wikipedia API wrapper for humans and elk. (en.wikipedia.org/w/api.php, get it?)
Other
36 stars 11 forks source link

get_language_links uses deprecated parameter llurl #28

Open ygreif opened 6 years ago

ygreif commented 6 years ago
>>> import wapiti
>>> client = wapiti.WapitiClient('')
>>> client.get_language_links('house')
may have an error: [u'main: Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.', u'langlinks: The parameter "llurl" has been deprecated.'] ('http://en.wikipedia.org/w/api.php?titles=house&llurl=True&format=json&action=query&servedby=true&lllimit=500&prop=langlinks')
mahmoud commented 6 years ago

@ygreif thanks for the report! Kind of a blast from the past. No promises on when/whether I'll get to this, but I can reproduce the issue, so I'll leave it here as a great start toward a contribution :)