wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
CategoryImporter#import_category
Takes a category name of the form 'Category:Foo' and imports all articles in that category. Optionally, also recursively imports subcategories of the specified depth.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/importers/category_importer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-CategoryImporter-import_category-for-pr
# Commit to gitgit add lib/importers/category_importer.rbgit commit -m "better docs for CategoryImporter#import_category"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-CategoryImporter-import_category-for-pr
hub pull-request
# Celebrate!