Commit graph

125 commits

Author SHA1 Message Date
1a7872b136 really fix. 2019-10-14 20:04:04 +01:00
8a90bf5e3f bug fix 2019-10-14 19:59:58 +01:00
94398524b1 Pass URL to catalog page. 2019-10-14 14:42:36 +01:00
c15370fbbf Add link from browse to catalog page 2019-10-14 14:33:29 +01:00
19185bdb08 New features for depicts lookup JSON 2019-10-14 13:09:42 +01:00
0bebf2de86 Add depicts drop downs to the catalog page. 2019-10-14 13:07:59 +01:00
039240b3c5 Chunk requests to Wikimedia Commons 2019-10-14 11:08:42 +01:00
5941f28ebd Request 50 items at a time from wikibase 2019-10-14 10:45:48 +01:00
a5207834e1 make item_detail a macro 2019-10-11 15:26:27 +01:00
545311112b Create missing depicts items. 2019-10-10 21:05:17 +01:00
1ef188fa06 Switch to bootstrap cards for catalog page 2019-10-10 21:00:13 +01:00
e2c78d813d Show more detail on catalog page. 2019-10-10 20:52:11 +01:00
66cbf3b670 Don't crash when there is no image. 2019-10-10 19:52:51 +01:00
2a819fb8b1 ideas for catalog page 2019-10-10 17:44:21 +01:00
d1ac75583b Refactor: move catalog code again 2019-10-10 10:58:42 +01:00
312cb255c4 Refactor 2019-10-10 09:47:38 +01:00
bd6d13bc36 Move another function into a dedicated module 2019-10-10 09:42:16 +01:00
d030f745de Bug fix Smithsonian American Art Museum parsing. 2019-10-10 07:39:30 +01:00
ac570b05d2 really fix. 2019-10-09 22:06:15 +01:00
04091988de Bug fix 'Detroit Institute of Arts' parser. 2019-10-09 22:03:51 +01:00
e38e1b994d I guess current_app isn't a function 2019-10-09 20:43:28 +01:00
9cd3d3c59b Catch another way of writing the description 2019-10-09 16:49:10 +01:00
581409dcd6 Skip some paintings and avoid refresh after random 2019-10-09 16:25:41 +01:00
f322a6f47f New function to get English label for entity 2019-10-09 16:25:17 +01:00
6a6b5ad373 Refactor: move more catalog code to module 2019-10-09 16:15:21 +01:00
8cbd0f246f Refactor: move catalog parse code to module 2019-10-09 16:11:43 +01:00
a5e5fa20df Refactor: move some oauth code to module 2019-10-09 16:09:52 +01:00
85329eab0d Refactor. New wikibase module. 2019-10-09 15:30:48 +01:00
b697be2306 Move three more queries into templates. 2019-10-09 15:27:35 +01:00
a5dfbd040a Move two queries into templates. 2019-10-09 14:38:10 +01:00
d928c46c1d Support item variable not called item. 2019-10-09 14:28:08 +01:00
2466446644 Link to browse index and property pages. 2019-10-09 13:30:15 +01:00
76cd8cefba Include property name in the browse page title 2019-10-09 13:29:43 +01:00
45b9ec23ea Remove debugging output. 2019-10-08 11:44:27 +01:00
f2a264054c fix error when no useful label 2019-10-08 11:43:05 +01:00
bb68a46f59 There can be more than 50 people. 2019-10-08 11:40:48 +01:00
077cdcfeb2 Show people with the birth/death on item page 2019-10-08 11:11:15 +01:00
96a03a0abe Search for wikibase for unused depicts. 2019-10-07 21:45:21 +01:00
888610f5fe Add refresh option to get_entity_with_cache. 2019-10-07 14:23:57 +01:00
62aff85ae6 Show existing depicts on item page. 2019-10-07 14:12:30 +01:00
9867e90769 Link to painting item page. 2019-10-07 13:25:10 +01:00
35c6296210 Reverse order of edit list. 2019-10-07 12:23:13 +01:00
bbd20e6c43 Warn user when no matching depicts items. 2019-10-07 11:46:42 +01:00
a4b10945ce Parse catalog HTML as bytes 2019-10-07 10:39:26 +01:00
807353303e Catch and ignore ConnectionError for catalog page. 2019-10-07 10:39:15 +01:00
9688331190 Add option to return wikibase entities as dict. 2019-10-07 10:38:26 +01:00
5def7e80ad Increase timeout for talking to wikibase. 2019-10-07 10:37:47 +01:00
52ecfedbfc Disable certificate verification for relaxed SSL. 2019-10-07 10:36:47 +01:00
5c263c7ef7 Show options as buttons instead of links. 2019-10-07 10:36:27 +01:00
9e8342b0ec Pick a new random painting
Make sure that a randomly chosen painting hasn't been shown before and
has no depicts statements.
2019-10-07 10:34:53 +01:00