wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
Wikitext.replace_code_with_nowiki
Replace instances of <code></code> with <nowiki></nowiki> This lets us use backticks to format blocks of mediawiki code that we don't want to be parsed in the on-wiki version of a course page.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/wikitext.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Wikitext-replace_code_with_nowiki-for-pr
# Commit to gitgit add lib/wikitext.rbgit commit -m "better docs for Wikitext.replace_code_with_nowiki"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Wikitext-replace_code_with_nowiki-for-pr
hub pull-request
# Celebrate!