- To help fix the onwiki instances, please examine these global-search results for MediaWiki-namespace pages, TemplateStyles pages and User-namespace pages (will take ~30 seconds to load).
- To fix each instance, find the //upload.wikimedia.org/… URIs within each page, and replace each of them with either a standard thumbnail size.
- The standard thumbnail sizes are: 20px, 40px, 60px, 120px, 250px, 330px, 500px, 960px, 1280px, 1920px, 3840px
- E.g. within the example at https://da.wikipedia.org/w/index.php?title=MediaWiki:Common.js&oldid=11749091#L-34 you would replace the line:
- b.style.backgroundImage = "url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Symbol_star_gold.svg/15px-Symbol_star_gold.svg.png')";
- to instead use:
- b.style.backgroundImage = "url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Symbol_star_gold.svg/20px-Symbol_star_gold.svg.png')";
- If you maintain an off-wiki tool that requests thumbnails by constructing a thumbnail URI directly, please either use the MediaWiki API instead (example), or make sure you only request standard thumbnail sizes.
P.s. Background details and expected FAQs are available in the wikitech-l@ announcement: https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/LS2NVZTBZPQDK2W7IP66SHUXP2J54435/
[ Original task description ]
This follows on from last quarter's work in T408062. The Hypothesis is "If we stop allowing generation of non-standard thumbnail sizes, it will reduce the strain on our backend media serving infrastructure". The aim at this point is to be only serving standard-size thumbnails by the end of Q3 or early in Q4.
This task is to track the work relating to this Hypothesis. The new set of standard sizes, as set out in T412971, is (widths in px):
20, 40, 60, 120, 250, 330, 500, 960, 1280, 1920, 3840


