Module talk:Rail-interchange multi: Difference between revisions

Content deleted Content added
create using AWB
 
Cewbot (talk | contribs)
m Maintain {{WPBS}}: 1 WikiProject template. Create {{WPBS}}.
 
(3 intermediate revisions by 2 users not shown)
Line 1:
{{WikiProject banner shell|
{{TrainsWikiProject|class=}}
{{WikiProject Trains}}
}}
== Broken on mobiles ==
 
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: [https://en.m.wikipedia.org/wiki/Gare_du_Nord here] (many icons, so the infobox becomes a scroller), and [https://en.m.wikipedia.org/wiki/Manchester_Piccadilly_station 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, {{u|Jc86035}}. [[User:ProcrastinatingReader|ProcrastinatingReader]] ([[User talk:ProcrastinatingReader|talk]]) 23:49, 23 October 2020 (UTC)
 
== Short-circuit in ternary expression at lines [[Module:Rail-interchange multi#L-23|23]] and [[Module:Rail-interchange multi#L-59|59]] ==
 
The ternary expressions at [[Module:Rail-interchange multi#L-23|line 23]] and [[Module:Rail-interchange multi#L-59|line 59]] both have a mistake; since <code>nil</code> is falsy, the lines will always short-circuit to {{code|1=args[i2] = v2|lang=lua}} due to the <code>or</code> condition always triggering. {&#123;'''[[User:Lemondoge|Lemondoge]]'''&#124;[[User talk:Lemondoge|Talk]]&#124;[[Special:Contributions/Lemondoge|Contributions]]&#125;} 14:58, 13 April 2023 (UTC)