Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Rail-interchange multi

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Broken on mobiles

[edit]

There are multiple issues with railway stations and mobile devices (across multiple countries). To some degree I think this is due to the CSS styling on ".content a > img, .content noscript > img", particularly the property/value "max-width: 100% !important;". You can see this: here (many icons, so the infobox becomes a scroller), and here (icons become tiny).

Overriding the CSS I mention provides a fix, but I'm not sure if it's just a bandaid. Please advise, Jc86035. ProcrastinatingReader (talk) 23:49, 23 October 2020 (UTC)Reply

Short-circuit in ternary expression at lines 23 and 59

[edit]

The ternary expressions at line 23 and line 59 both have a mistake; since nil is falsy, the lines will always short-circuit to args[i2] = v2 due to the or condition always triggering. {{Lemondoge|Talk|Contributions}} 14:58, 13 April 2023 (UTC)Reply