wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

WikiEdits#create_account

Create an account, with a random password to be emailed by mediawiki to the
email provided.
Success response: {"createaccount"=>{"status"=>"PASS", "username"=>"Ragetest 99"}}
Fail response: {"createaccount"=>{"status"=>"FAIL",
"message"=>"Nom d’utilisateur entré déjà utilisé.\nVeuillez
choisir un nom différent.", "messagecode"=>"userexists"}}

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open lib/wiki_edits.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WikiEdits-create_account-for-pr


# Commit to git

git add lib/wiki_edits.rbgit commit -m "better docs for WikiEdits#create_account"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-WikiEdits-create_account-for-pr

hub pull-request


# Celebrate!