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

Fix fullurl/editurl, add plaintext extract #19

Merged
merged 6 commits into from
Jun 26, 2015

Conversation

t33chong
Copy link
Contributor

@t33chong t33chong commented May 3, 2014

In the Client.request_page method, "info" was missing from :prop, which resulted in the absence of "fullurl" and "editurl" from the JSON response. With this patch, Page.fullurl and Page.editurl return the expected values.

I also added "extracts" to :prop, and included the :explaintext flag, which allows the user to obtain an article extract in plain text via the new Page.text method.

@kenpratt kenpratt force-pushed the master branch 3 times, most recently from 28e1947 to 00c0df0 Compare June 25, 2015 20:43
pietromenna added a commit that referenced this pull request Jun 26, 2015
Fix fullurl/editurl, add plaintext extract
@pietromenna pietromenna merged commit e436d55 into kenpratt:master Jun 26, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants