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

Include 'url' in object returned in langlinks() #134

Closed
ocinpp opened this issue Jan 15, 2020 · 0 comments · Fixed by #135 · May be fixed by Ruthvessh/ALOO#3
Closed

Include 'url' in object returned in langlinks() #134

ocinpp opened this issue Jan 15, 2020 · 0 comments · Fixed by #135 · May be fixed by Ruthvessh/ALOO#3

Comments

@ocinpp
Copy link
Contributor

ocinpp commented Jan 15, 2020

Hi,

Currently, there is no URL included when getting wiki links in different languages. It may be useful to add the full URL so that there is no need to use wiki.page(title) to get the URL.

To do this, we can add the parameter llprop with the value url

Reference: https://www.mediawiki.org/w/api.php?action=help&modules=query%2Blanglinks

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 a pull request may close this issue.

1 participant