Template talk:Flag
Template:Broader Script error: No such module "For". Script error: No such module "Banner shell". Template:Tfd end User:MiszaBot/config Template:Archives
Template needs option NOT to link country 18 September 2023
Template:Edit template-protected
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)
- File:X mark.svg Not done Template:Tl already exists to not link to the country. * Pppery * it has begun... 22:24, 18 September 2023 (UTC)
- 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)
Fatah
How does this work and why is it not working for Template:Country data Fatah / Fatah? Most other newsworthy Palestinian factions seem to work - Template:Country data Hamas - Template:Country data PFLP - Template:Country data 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)
- 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)
- 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)
Edit request 21 January 2025
Template:Edit template-protected 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 (talk • contribs) 10:45, 21 January 2025 (UTC)
- File:Red question icon with gradient background.svg 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)
- 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)
- 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)
- 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)
- 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)
Mobile collapsible sections
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)
- Why do you think that it is this template that is causing that issue? Primefac (talk) 23:17, 25 May 2025 (UTC)
- 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)
- 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)
- 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)- 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)
- Okay, so it's less that this template is being used, and more that it's being used 1000+ times on the page. Primefac (talk) 15:33, 7 June 2025 (UTC)
- 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)
- The version that works has
- 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)
- 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)