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

Support private mediawiki #1

Merged
merged 3 commits into from
Jul 22, 2020
Merged

Support private mediawiki #1

merged 3 commits into from
Jul 22, 2020

Conversation

mirguest
Copy link
Contributor

In order to support a private wiki, I add three options:

  • path, the relative path of the wiki
  • username, the login user name
  • password, the login password

Copy link
Owner

@clpo13 clpo13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request! It looks good, but since the default site is a Wikimedia site, the default path should be /w/, which is what Wikimedia sites use (per the API documentation).

wikiget/__init__.py Outdated Show resolved Hide resolved
@clpo13 clpo13 merged commit c25998b into clpo13:master Jul 22, 2020
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.

2 participants