wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
WikiAssignmentOutput#end_of_templates_pattern
Regex to match "}}" at the end of a line where the next line does
NOT start with (optional whitespace and then) "|" or "{" or "}".
That covers the main syntax patterns of heavily-bannered talk pages,
which typically use something like the {{WikiProject banner shell}}
template that includes other templates within it.Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/wiki_assignment_output.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WikiAssignmentOutput-end_of_templates_pattern-for-pr
# Commit to gitgit add lib/wiki_assignment_output.rbgit commit -m "better docs for WikiAssignmentOutput#end_of_templates_pattern"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WikiAssignmentOutput-end_of_templates_pattern-for-pr
hub pull-request
# Celebrate!