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

Wikipedia Channel #91

Open
DakotaNelson opened this issue Jan 29, 2016 · 0 comments
Open

Wikipedia Channel #91

DakotaNelson opened this issue Jan 29, 2016 · 0 comments

Comments

@DakotaNelson
Copy link
Owner

MediaWiki, which Wikipedia is based on, can upload files by fetching them from a remote URL on command and also send emails!

From https://en.wikipedia.org/w/api.php?action=help&modules=upload:

Upload a file, or get the status of pending uploads.

Several methods are available:

Upload file contents directly, using the file parameter.
Upload the file in pieces, using the filesize, chunk, and offset parameters.
Have the MediaWiki server fetch a file from a URL, using the url parameter.
Complete an earlier upload that failed due to warnings, using the filekey parameter.

From https://en.wikipedia.org/w/api.php?action=help&modules=emailuser:

Parameters:
target
User to send email to.

subject
Subject header.

text
Mail body.

ccme
Send a copy of this mail to me.

How cool is that?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant