Commit graph

23 commits

Author SHA1 Message Date
Edward Betts ba56274022 Tidy code for building list of examples 2023-12-09 18:43:56 +00:00
Edward Betts 479dc864fd Remove debugging output 2023-12-09 18:43:05 +00:00
Edward Betts 14d8539298 Link matching improvements 2023-12-09 18:42:53 +00:00
Edward Betts 1da620875a Add type hints and docstrings 2023-12-09 18:42:03 +00:00
Edward Betts 113dfd3630 Refactor: new get_hit_count function 2023-12-06 20:58:01 +00:00
Edward Betts 98ea589c58 Add more detailed docstring 2023-12-06 20:57:24 +00:00
Edward Betts d76c74395b Fix name of module 2023-12-06 20:56:59 +00:00
Edward Betts dd9b7be198 Improve article_title_to_search_query function
Add more detailed docstring
2023-12-06 20:44:20 +00:00
Edward Betts 2c267c67e2 Add types and docstrings 2023-12-06 11:30:34 +00:00
Edward Betts fc0d6f114a Don't crash when there is no match 2023-12-06 11:30:04 +00:00
Edward Betts ea95c82b37 Rename wikidata_oauth to mediawiki_oauth 2023-12-06 11:29:03 +00:00
Edward Betts 128d84fce9 Redirect to oauth_start if not logged in. 2023-12-06 09:53:35 +00:00
Edward Betts 39f9ba31ed Raise LoginNeeded if not logged in 2023-12-06 09:53:06 +00:00
Edward Betts 32a7e939a5 Rename article2.html to article.html 2023-11-26 14:13:51 +00:00
Edward Betts 6f4ae2537f Add static/bootstrap to .gitignore 2023-11-26 14:10:00 +00:00
Edward Betts f54401ef05 Show list of hits on article page 2023-11-25 20:59:10 +00:00
Edward Betts 8901831568 Adjust OAuth to work better 2023-11-25 19:59:28 +00:00
Edward Betts b6cc79291b Move article link route to 2023-11-25 19:58:58 +00:00
Edward Betts be4db13179 Adjust favicon 404 route for type hints 2023-11-25 19:58:24 +00:00
Edward Betts 99db7df7f1 Add 'type: ignore' for mypy 2023-11-25 19:57:47 +00:00
Edward Betts 52f7877bb8 Improve article display 2023-11-25 19:57:04 +00:00
Edward Betts 4b73102c22 Move CSS out of template to static file 2023-11-25 19:56:25 +00:00
Edward Betts f07b407e7a Initial commit 2023-10-04 12:56:21 +01:00