Content deleted Content added
→Portals with many images: rotated subnational articles |
→Interaction with Template:Abbr: new section Tag: Reverted |
||
Line 94:
::You're right; it's too late. extractRegularFiles is efficient: gsub takes 0.32 seconds, some of which lies elsewhere. I suspect the time goes even earlier, in the parse function of Module:Excerpt/portals (which is mainly my fault, though the attribution has become separated). The killer there is retrieving up to 100 file description pages to check for non-free licences. We should probably set files=1-50 rather than 100 in this module but also remove some articles from the list in Portal:Pakistan and similar cases. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 13:59, 30 September 2020 (UTC)
:I've removed subnational articles such as [[Quetta]] from [[Portal:Pakistan]]. It now renders in 6 seconds, of which only 2 s is the slideshow. As an experiment, I've introduced some variety via a region of the day: one final article of {{tlx|Random item|Islamabad|Lahore|Karachi|Quetta|Peshawar|Northern Pakistan}} rotates the evicted images. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 14:41, 30 September 2020 (UTC)
== Interaction with [[Template:Abbr]] ==
You are invited to join the discussion at {{section link|Wikipedia:Village pump (technical)|Strip marker exposure in #tag:gallery}}. —[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 12:28, 8 November 2020 (UTC)
|