wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

Wikitext.reformat_image_links

Take file links that come out of Pandoc and attempt to create valid wiki
image code for them. This method assumes a recent version of Pandoc that
uses "File:" rather than "Image:" as the MediaWiki file prefix.

Source | Google | Stack overflow

Edit

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

cd wikiedudashboard

open lib/wikitext.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Wikitext-reformat_image_links-for-pr


# Commit to git

git add lib/wikitext.rbgit commit -m "better docs for Wikitext.reformat_image_links"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Wikitext-reformat_image_links-for-pr

hub pull-request


# Celebrate!