Community Wishlist Survey 2023/Multimedia and Commons/Make Special:Search on Commons show all requested thumbnails
Make Special:Search on Commons show all requested thumbnails
- Problem: Special Search on Commons does not show all thumbs (example).
- Proposed solution: Make it show all due thumbs after 1 user request, for example build in an automatic ctrl+F5 page refresh till all are loaded ... but better: clean up the code that prevents pages to load fully in one go. Make PDF-search optional by default. Investigate endless loops.
- Who would benefit: Categorizers of large collections of images
- More comments: Thumb display changes and loading issues were already discussed in 2022 here, but the issue of never loading of all of the thumbs in large searches (100-500 items) was never solved yet.
- Phabricator tickets: T266155
- Proposer: Peli (talk) 18:54, 23 January 2023 (UTC)
Discussion
- This specific case would probably be pretty easy to improve if we switched to lazyloading the images... Someone help me remember if I forget. —TheDJ (talk • contribs) 19:34, 23 January 2023 (UTC)
- I have made a patch to enable lazy loading of images, which should result in fewer initial requests on pages like this and consequently will result in a lower request rate to the thumbnail service. This hopefully also will cause more requests succeeding when we load the image as you scroll them into view. —TheDJ (talk • contribs) 13:57, 25 January 2023 (UTC)
- @Pelikana my improvement should land somewhere next week. It will not completely fix the problem, but I think it will be an improvement over the current situation. —TheDJ (talk • contribs) 10:42, 20 February 2023 (UTC)
- I have made a patch to enable lazy loading of images, which should result in fewer initial requests on pages like this and consequently will result in a lower request rate to the thumbnail service. This hopefully also will cause more requests succeeding when we load the image as you scroll them into view. —TheDJ (talk • contribs) 13:57, 25 January 2023 (UTC)
- Thank you. Peli (talk) 13:44, 20 February 2023 (UTC)
- The images can be set to gallery mode to further improve the viewing of search results, like in Google or in categories. Thingofme (talk) 12:38, 29 January 2023 (UTC)
- FYI, there already is a gallery search results mode on Commons, and it is https://commons.wikimedia.org/w/index.php?title=Special:MediaSearch&search=ets%2B%22RP-P%22&type=image This is actually the default nowadays. It is a progressively loading page and already applies loading=lazy. —TheDJ (talk • contribs) 10:39, 20 February 2023 (UTC)
- This ticket: phab:T266155? — Draceane talkcontrib. 20:10, 8 February 2023 (UTC)
- Yep, looks like an appropriate one. I've added it to the proposal above. SWilson (WMF) (talk) 03:38, 9 February 2023 (UTC)
Voting
- Support Peli (talk) 12:25, 15 February 2023 (UTC)
- Support Lotje (talk) 13:52, 15 February 2023 (UTC)
- Support cyrfaw (talk) 13:41, 17 February 2023 (UTC)
- Support Hans5958 (talk) 05:32, 20 February 2023 (UTC)
- Support — Draceane talkcontrib. 11:26, 20 February 2023 (UTC)