In today's world, Template talk:Portal remains a topic of constant interest and debate. Over time, its relevance has increased and has impacted different sectors of society. From the personal level to the professional level, Template talk:Portal has proven to be a crucial point that cannot be ignored. Its influence has spread to all corners of the world, affecting people of all ages, cultures and conditions. In this article, we will explore in detail the various facets of Template talk:Portal and how it has shaped and continues to shape our reality.
| This is the talk page for discussing improvements to the Portal template. |
|
| Archives (index): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10Auto-archiving period: 9 months |
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
| |||||||||||
| Template:Portal is permanently protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This edit request to Module:Portal/images/p has been answered. Set the |answered= parameter to no to reactivate your request. |
File:A coloured voting box with South Korea gorvernment emblem.svg|thumb|A yellow coloured voting box with South Korea government emblem.
May i add this image?
it used at Politics of South Korea portal]]
= "A coloured voting box with South Korea gorvernment emblem.svg|link=|alt=icon"
Whatback11 (talk) 10:07, 6 May 2025 (UTC)
{{Edit template-protected}} template. P.I. Ellsworth , ed. put'er there 18:36, 6 May 2025 (UTC)When viewing Template:Education in the U.S., there is a black icon for the Education portal, which in dark mode is very hard to see on a dark grey background. Normally I'd just set "class=skin-invert-image" on the image, which would make it white when viewed in dark mode, but I don't see a way to do that with the portal template system. Perhaps images that need this should be set in the image database and the module should handle that? -- Beland (talk) 18:56, 21 May 2025 (UTC)
This edit request to Module:Portal has been answered. Set the |answered= parameter to no to reactivate your request. |
Action requested: Please copy Module:Portal/sandbox to Module:Portal
Description of suggested change:
Currently, portal icons are not responsive to dark mode, which is a serious problem for portals like
Education portal.
A good way to fix this is to allow editors to add class=skin-invert-image to the filespec in Module:Portal/images (see, e.g., ). However, the current code in Module:Portal interferes with this, because it appends class=noviewer to the filespec which overrides any class specified in Module:Portal/images.
The fix is contained in the new function noviewer(), which examines the filespec. If there is already a class specified, it adds "noviewer" to the list of classes. Otherwise, it just appends class=skin-invert-image. I added this to both p._portal() and p._demo().
In addition, I decided to centralize the handling of image classes here in Module:Portal. Thus, I added noviewer() to p._image(), and will edit Module:Portal-inline and Module:Portal bar appropriately if this change gets approved.
The change is tested in Template:Portal/testcases and Template:Portal image/testcases, where the behavior is as-expected.
Pinging @Pppery for their attention. Thanks for considering!
Diff: compare Module:Portal to Module:Portal/sandbox — hike395 (talk) 15:11, 24 May 2025 (UTC)
Lua error in Module:Portal at line 211: assign to undeclared variable 'hasClass'.) in articles, including Chinese characters and Rodrigo Duterte (these are just some of the pages I looked at). I have no thoughts on the change itself, but I've undone the it pending a fix, since this is a very high-profile module. Feel free to reinstate it once the issue is solved. Thanks, Giraffer (talk) 17:57, 24 May 2025 (UTC)
This edit request to Module:Portal/images/s has been answered. Set the |answered= parameter to no to reactivate your request. |
I request we add = "Sf-userbox.png|alt=icon", as all "speculative fiction/subtopic" portals all have their images shared with their shorter subtopic-only portal names. IAmNMFlores (talk) 20:11, 30 July 2025 (UTC)
This edit request to Module:Portal/images/l has been answered. Set the |answered= parameter to no to reactivate your request. |
Action requested: Replace image for Libertarianism Portal with vector version of diagram
Description of suggested change: Updating the imgage line for Libertarianism on Module:Portal/images/l to read "Libertarianism-groups-diagram.svg" (rather than the current "Libertarianism-groups-diagram.png"), & reference the newly added vector diagram. Bpmcneilly (talk) 19:24, 1 August 2025 (UTC)
This edit request to Module:Portal/images/e has been answered. Set the |answered= parameter to no to reactivate your request. |
Change = "Wiki Eurovision Heart (Infobox).svg|border|link=|alt=icon",
to = "File:Eurovision Heart (2026–).svg|link=Portal:Eurovision Song Contest|alt=icon",
, found in Module:Portal/images/s
The border is unnecessary, as the icon is not even in a rectangular shape, and the visual identity of the contest has been changed, therefore the icon should be updated to reflect that — IмSтevan talk 21:36, 21 August 2025 (UTC)
This edit request to Module:Portal/images/i has been answered. Set the |answered= parameter to no to reactivate your request. |
For the portal of Los Angeles (which redirects to Greater Los Angeles), I would like the image snippet/preview of the template to be replaced with the city's flag:
This is because of the NYC portal having their city flag, and I think it'd be more appealing than a shrunken image of a city, that to me (in my opinion) looks like Tokyo. ѕιη¢єяєℓу ƒяσм, ᗰOᗪ ᑕᖇEᗩTOᖇ 🏡 🗨 📝 17:18, 23 August 2025 (UTC)
You can find the context here: Module:Portal/images/l — Preceding unsigned comment added by Mod creator (talk • contribs) 17:19, 23 August 2025 (UTC)
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: Module:Portal/images/e Remove outdated CSS class skin-invert-image, remove ARIA-labels (i.e. alt=icon) and every use of alt in all Module:Portal/images/*** please, that are definitely not needed please. I use a screen reader, and I can assure you we do not need to hear "IMAGE - IMAGE ICON." then only the important "LINK - EXAMPLE PORTAL." when we go past those icons.
waddie96 ★ (talk) 22:56, 11 September 2025 (UTC)
skin-invert-image. This is not obsolete. This is the way that sighted readers who use dark mode have visible icons. We should keep this.alt=icon. This is a big enough change where we should get consensus. I'll start a discussion at Wikipedia talk:WikiProject Accessibility.— hike395 (talk) 00:13, 12 September 2025 (UTC)
alt=flag in this case would be preferable. — hike395 (talk) 06:32, 12 September 2025 (UTC)This is not obsolete.:
skin-invert is now used, I haven't seen skin-invert-image used in a long time?] → Unlabelled image. Unlabelled image.] → Unlabelled image. Unlabelled image. <caption attribute>.. For example, ] → Unlabelled image. Unlabelled image. Yellow man..] → Link, image, Banana peel. Yellow man.] → Link. File:Example.svg. <caption attribute>] → Link. File:Example.svg.] → ––<span aria-hidden="true">]</span> → –– Nothing. Skips as does not even know it's there. Preferred for all icons/images for decorative purposes. aria-hidden is equivalent to display="none" but the later doesn't show it visually either, but jsut so you aware.Is there a difference between a missing alt and a blank alt?Yes, massive difference in screen readers, if both
alt= and link= blank/null/nil it means the semantic equivalent to what aria-hidden="true" means today, i.e. unequivocally ignore me I am an icon/image for decorative purposes, ignore me. Both need to be declared null though, or at least link=.aria-hidden=truearound all portal icons. That should solve the problem in a standard way for all (?) screen readers. I'll test it in the sandbox, and perhaps an admin can promote the fix. — hike395 (talk) 11:48, 12 September 2025 (UTC)
|alt= and |link= then since it'll hide that from the accessibility tree anyway! Win, win for both. I'll mention this as the first option in future. waddie96 ★ (talk) 11:53, 12 September 2025 (UTC)
aria-hidden="true") that we can append some additional HTML attributes to the span?aria-hidden="true" will prevent the accessible names from being read out, but these links are still in the tab order. So, if a user places focus on them, the screen reader won't know what to announce these links as (because the semantics explicitly say to remove the span & its children from the DOM).inert attribute to the span as well, this should remove the possibility of any link that is a child of the span from getting keyboard focus. Just for reference, here's a the . Bpmcneilly (talk) 05:46, 16 September 2025 (UTC)
<a> element a tabindex=0 by default, unless you want to remove the portal links from the tabindex, or increase their priority, which neither is called for in this situation. Could you be clearer what you mean? waddie96 ★ (talk) 01:43, 19 September 2025 (UTC)local link = string.format(']',
portal, portal, args.addBreak and '<br />' or ' ')
] to generate the <a>...</a> HTML after it's parsed by mw:Parsoid, see mw:Parsoid/MediaWiki DOM spec if that peaks your interest. For the image's link, it's made with ] waddie96 ★ (talk) 01:53, 19 September 2025 (UTC)@Bpmcneilly: Thanks for pointing this out! The image html generation is spread across three modules. Check out my latest edits to Module:Portal/sandbox, Module:Portal bar/sandbox, and Module:Portal-inline/sandbox: you will see the span where I added aria-hidden=true. You can modify those spans to add tabindex. — hike395 (talk) 12:16, 19 September 2025 (UTC)
I've modified Module:Portal/sandbox, Module:Portal bar/sandbox, and Module:Portal-inline/sandbox to add aria-hidden="true" to a wrapping span. @Graham87 and Waddie96: does the proposed behavior work well for you? — hike395 (talk) 13:11, 12 September 2025 (UTC)
This edit request to Module:Portal/images/a has been answered. Set the |answered= parameter to no to reactivate your request. |
Action requested: Replace image for American Civil War Portal with vector version of image
Description of suggested change: Updating the image line for American Civil War (line 65) on Module:Portal/images/a to read "United_states_confederate_flag_hybrid.svg" (rather than the current "Acw bs 7a.png"), & reference the newly added vector version. Bpmcneilly (talk) 18:28, 13 September 2025 (UTC)
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
On Module:Portal/images/f, there is no more Portal:Franco-Americans, so the line = "Drapeau Franco-Américain.svg|border|alt=icon", can be removed. --Quuxplusone (talk) 19:54, 29 October 2025 (UTC)
I was looking at this because I was trying to figure out why {{Portal|Fish|Sharks}} gives one clickable image (the shark) and one not (the fish), and why {{Portal|France|Food}} gives one clickable and indexed image (the food logo) and one neither clickable nor indexed (the flag). I still haven't figured out either of those answers. IMO no portal image should ever be either clickable or indexed. Certainly not indexed. --Quuxplusone (talk) 19:54, 29 October 2025 (UTC)
This edit request to Module:Portal/images/n has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change:
Diff:
| − | + | Northern America including Mexico (orthographic projection).svg |
on Module:Portal/images/n. זיו「Ziv」 • For love letters and other notes 13:56, 4 November 2025 (UTC)
Please change the 2020s portal icon from brain to Ubuntu 20.04. ~2025-31039-85 (talk) 18:56, 4 November 2025 (UTC)
This edit request to Module:Portal/images/p has been answered. Set the |answered= parameter to no to reactivate your request. |
Change = "Flag of Portugal.svg|border|link=|alt=flag", to = "Flag of Portugal (official).svg|border|link=|alt=flag", at Module:Portal/images/p.
The current version of the flag is being replaced with the official version of the Portuguese flag, for instance,Portugal, Template:Country data Portugal. The reason being that File:Flag of Portugal.svg is an outdated rendering of the Portuguese flag, unlike File:Flag of Portugal (official).svg (More info at: Template talk:Country data Portugal) GumballNine1Nine (talk) 22:01, 7 November 2025 (UTC)
This edit request to Module:Portal/images/a has been answered. Set the |answered= parameter to no to reactivate your request. |
Hello, I would like to suggest a small but important edit to improve neutrality in the Module:Portal/images/a listing for Abkhazia.
Current entry: = "Flag of Abkhazia.svg",
Proposed change: = "Abkhazia stub.png",
The current flag
is politically sensitive, while shape
is already used across Wikipedia as a neutral, non-political symbol of Abkhazia.
Thank you for considering this small neutrality improvement. BlueHourDusk (talk) 20:47, 9 November 2025 (UTC)
The Location advice for Template:Portal states that ithin articles, is meant to be placed at the top of the article's See also External links section .. ; just put it below the article text in the place that seems most appropriate (my emphasis).
But that doesn't seem to be general practice with the Wiktionary portal. Wiktionary portal boxes usually seem to
It seems to me the Location advice for portals needs correcting / amplifying or clarifying. (Or am I misunderstanding something?)
- ~2025-32010-21 (talk) 04:36, 16 November 2025 (UTC)
The template may be placed anywhere, such as the External links section, the beginning of the article, or in the article's etymology section if one exists. It may also be placed inline.—andrybak (talk) 20:23, 1 December 2025 (UTC)