Jump to content

Template talk:Flag

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

[edit]

Without such an option, this is a violation of MOS:OVERLINK, particularly in a table with multiple links to the same country. Thanks! 1980fast (talk) 22:08, 18 September 2023 (UTC)[reply]

 Not done {{flagu}} already exists to not link to the country. * Pppery * it has begun... 22:24, 18 September 2023 (UTC)[reply]
Thank you! I was completely unaware of its existence. I'm not sure how I managed to miss it while looking in the documentation, but I appreciate your pointing it out nonetheless! 1980fast (talk) 07:32, 19 September 2023 (UTC)[reply]

Fatah

[edit]

How does this work and why is it not working for  Fatah / Fatah? Most other newsworthy Palestinian factions seem to work -  Hamas -  PFLP -  DFLP - but not the biggest. Does it pull a flag off the wiki page for a thing? Or is there a separate database? Does the flag on the page need to be a particular file format or size? Irtapil (talk) 13:51, 17 December 2023 (UTC)[reply]

Yes, it attempts to pull a flag out of a template, which does not exist for Fatah but does for the others. See Wikipedia:WikiProject_Flag_Template#Implementation for information about creating/implementing the flag system for Fatah. Primefac (talk) 14:06, 17 December 2023 (UTC)[reply]
I don't see how any of these flags satisfy MOS:SOVEREIGNFLAG, so why do we have templates for them at all? 2A00:23C5:BA8A:BF01:9B6:5525:7FD6:7C51 (talk) 22:48, 27 January 2024 (UTC)[reply]

Edit request 21 January 2025

[edit]

Description of suggested change:

The flag of Syria has been updated on that page and on other prominent locations such as Syria. It should be updated here as well for consistency. — Preceding unsigned comment added by Jhpratt (talkcontribs) 10:45, 21 January 2025 (UTC)[reply]

 Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. I thought the redirect was accurate; what has changed and what needs changing? Primefac (talk) 12:28, 21 January 2025 (UTC)[reply]
Frankly, I don't even know if I'm asking this in the right place. It was incredibly difficult to find the relevant page, and this quite possibly isn't it.
As to what I'm asking to have changed; the flag of Syria changed with the toppling of the Assad regime. Rather than the red-white-black flag with two stars, the green-white-black flag with three stars is now used. Anywhere these mini icons are used still uses the old flag, which is no longer accurate. I can't provide a diff because of the aforementioned difficulty — I don't even know where these icons are stored.
jhpratt (talk) 07:18, 22 January 2025 (UTC)[reply]
I think you might need to go to Commons; File:Flag of Syria.svg is currently pointing to the two-star file but we can't do anything about that here. Primefac (talk) 09:02, 22 January 2025 (UTC)[reply]
Looking at the discussion there, it appears as though there's some hiccups regarding changing the redirect. Thanks for the information! jhpratt (talk) 08:06, 23 January 2025 (UTC)[reply]

Mobile collapsible sections

[edit]

It seems the present template prevents the collapse of sections on mobile devices. Does anyone suspect why? See, for example, Futsal. fgnievinski (talk) 20:37, 25 May 2025 (UTC)[reply]

Why do you think that it is this template that is causing that issue? Primefac (talk) 23:17, 25 May 2025 (UTC)[reply]
It was collapsing well just before the inclusion of flags: [1] (to be viewed on a mobile screen or simulated so with Ctrl+Shift+I on Chrome). fgnievinski (talk) 03:48, 26 May 2025 (UTC)[reply]
For me it starts not-collapsing in the subsequent diff, Special:Diff/1025223390; the diff you link has {{flag}} and appears to be working correctly. I suspect there is something else weird being done, but I honestly don't have time right now to look, but I'll do so when I get home from work. Primefac (talk) 09:21, 28 May 2025 (UTC)[reply]
The version that works has <!-- MobileFormatter took 0.118 seconds --> in the html source, the version that doesn't does not, which suggests to me that MobileFormatter is having trouble processing the version that doesn't work. Bawolff (talk) 02:49, 29 May 2025 (UTC)[reply]
Looks like this is because $wgMFMobileFormatterOptions['maxImages'] is set to disable collapsible sections if there is more than 1000 images on a page. Bawolff (talk) 03:04, 29 May 2025 (UTC)[reply]