Commit graph

135 commits

Author SHA1 Message Date
Edward Betts 4d4d934de3 Reorganise item page to work better on mobile 2019-10-25 17:02:02 +01:00
Edward Betts 9dcae3138b Don't error on existing edit, ignore instead. 2019-10-23 08:43:25 +01:00
Edward Betts db0eda0abf Catch and ignore more catalog exceptions 2019-10-22 22:21:25 +01:00
Edward Betts 7a4af12f3f Focus search after add depicts should now work 2019-10-16 17:29:51 +01:00
Edward Betts a9ef91b214 New approach to focus search field 2019-10-16 17:19:30 +01:00
Edward Betts 61fd14427d Set search field id 2019-10-16 16:20:01 +01:00
Edward Betts 3c992d2a97 Return focus to the search field after add depicts 2019-10-16 16:18:09 +01:00
Edward Betts 1855a88c5d bug fix 2019-10-15 16:41:23 +01:00
Edward Betts a89a947be5 Add debugging method. 2019-10-15 16:32:13 +01:00
Edward Betts ded4b913da Add navigation bar 2019-10-15 12:21:05 +01:00
Edward Betts 1a7872b136 really fix. 2019-10-14 20:04:04 +01:00
Edward Betts 8a90bf5e3f bug fix 2019-10-14 19:59:58 +01:00
Edward Betts 94398524b1 Pass URL to catalog page. 2019-10-14 14:42:36 +01:00
Edward Betts c15370fbbf Add link from browse to catalog page 2019-10-14 14:33:29 +01:00
Edward Betts 19185bdb08 New features for depicts lookup JSON 2019-10-14 13:09:42 +01:00
Edward Betts 0bebf2de86 Add depicts drop downs to the catalog page. 2019-10-14 13:07:59 +01:00
Edward Betts 039240b3c5 Chunk requests to Wikimedia Commons 2019-10-14 11:08:42 +01:00
Edward Betts 5941f28ebd Request 50 items at a time from wikibase 2019-10-14 10:45:48 +01:00
Edward Betts a5207834e1 make item_detail a macro 2019-10-11 15:26:27 +01:00
Edward Betts 545311112b Create missing depicts items. 2019-10-10 21:05:17 +01:00
Edward Betts 1ef188fa06 Switch to bootstrap cards for catalog page 2019-10-10 21:00:13 +01:00
Edward Betts e2c78d813d Show more detail on catalog page. 2019-10-10 20:52:11 +01:00
Edward Betts 66cbf3b670 Don't crash when there is no image. 2019-10-10 19:52:51 +01:00
Edward Betts 2a819fb8b1 ideas for catalog page 2019-10-10 17:44:21 +01:00
Edward Betts d1ac75583b Refactor: move catalog code again 2019-10-10 10:58:42 +01:00
Edward Betts 312cb255c4 Refactor 2019-10-10 09:47:38 +01:00
Edward Betts bd6d13bc36 Move another function into a dedicated module 2019-10-10 09:42:16 +01:00
Edward Betts d030f745de Bug fix Smithsonian American Art Museum parsing. 2019-10-10 07:39:30 +01:00
Edward Betts ac570b05d2 really fix. 2019-10-09 22:06:15 +01:00
Edward Betts 04091988de Bug fix 'Detroit Institute of Arts' parser. 2019-10-09 22:03:51 +01:00
Edward Betts e38e1b994d I guess current_app isn't a function 2019-10-09 20:43:28 +01:00
Edward Betts 9cd3d3c59b Catch another way of writing the description 2019-10-09 16:49:10 +01:00
Edward Betts 581409dcd6 Skip some paintings and avoid refresh after random 2019-10-09 16:25:41 +01:00
Edward Betts f322a6f47f New function to get English label for entity 2019-10-09 16:25:17 +01:00
Edward Betts 6a6b5ad373 Refactor: move more catalog code to module 2019-10-09 16:15:21 +01:00
Edward Betts 8cbd0f246f Refactor: move catalog parse code to module 2019-10-09 16:11:43 +01:00
Edward Betts a5e5fa20df Refactor: move some oauth code to module 2019-10-09 16:09:52 +01:00
Edward Betts 85329eab0d Refactor. New wikibase module. 2019-10-09 15:30:48 +01:00
Edward Betts b697be2306 Move three more queries into templates. 2019-10-09 15:27:35 +01:00
Edward Betts a5dfbd040a Move two queries into templates. 2019-10-09 14:38:10 +01:00
Edward Betts d928c46c1d Support item variable not called item. 2019-10-09 14:28:08 +01:00
Edward Betts 2466446644 Link to browse index and property pages. 2019-10-09 13:30:15 +01:00
Edward Betts 76cd8cefba Include property name in the browse page title 2019-10-09 13:29:43 +01:00
Edward Betts 45b9ec23ea Remove debugging output. 2019-10-08 11:44:27 +01:00
Edward Betts f2a264054c fix error when no useful label 2019-10-08 11:43:05 +01:00
Edward Betts bb68a46f59 There can be more than 50 people. 2019-10-08 11:40:48 +01:00
Edward Betts 077cdcfeb2 Show people with the birth/death on item page 2019-10-08 11:11:15 +01:00
Edward Betts 96a03a0abe Search for wikibase for unused depicts. 2019-10-07 21:45:21 +01:00
Edward Betts 888610f5fe Add refresh option to get_entity_with_cache. 2019-10-07 14:23:57 +01:00
Edward Betts 62aff85ae6 Show existing depicts on item page. 2019-10-07 14:12:30 +01:00