Schools often do not allow Wikipedia to be used as a source for reasons such as "there's no author", "anyone can edit it", or "information is probably incorrect". Although information can be incorrect sometimes, most articles have some level of edit prevention. InfoDatabase is able to answer most of the other common arguments.
-
InfoDatabase generate's an author(s) name from the values of the hash of the article title, meaning the page can be edited and the name will still remain the same. This makes citing the "author" easy.
-
The page is reformatted removing most hyperlinks and citations to improve readability and to hide the fact that it's all Wikipedia data
-
References are moved to an external page to make the page a bit more simple, and to still maintain proper credit.
A rough todo list:
- move to webpack for better code
- have some basic theming options to match user preference
- have buttons to easily generate citations for articles
- obfuscate the URL a bit
- search
- a better Home and About Us page
- move away from a single file for everything
- easier page generation
I haven't worked much with Workers in the past, so a few things might be missing here, issues and PRs welcome!
You may need to install Cloudflare's Wrangler CLI if you haven't already
Note: this project uses Wrangler v1 and has not yet been upgraded to v2!
You may need to create a wrangler.toml
file to test the project. Documentation on setting that up can be found on Cloudflare's website
Make sure to specify type = webpack
in your wrangler.toml
To test edits live, run wrangler dev