wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

WikiApi#get_page_content

Returns nil if it cannot get any info from the wiki, but returns
empty string if it's a 404 because the page is a redlink.

Source | Google | Stack overflow

Edit

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

cd wikiedudashboard

open lib/wiki_api.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WikiApi-get_page_content-for-pr


# Commit to git

git add lib/wiki_api.rbgit commit -m "better docs for WikiApi#get_page_content"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-WikiApi-get_page_content-for-pr

hub pull-request


# Celebrate!