Module talk:Mapframe: Difference between revisions

Content deleted Content added
Line 44:
::Hiding this square is very useful for many Wikipedia maps, especially for small ones. So it worths implementation. Thanks, [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 04:01, 8 May 2025 (UTC)
:::I thought the box is also a subtle hint that it's a clickthrough and scalable, not just a static picture. But propose the removal via Phab if desired. [[User:The Equalizer|The Equalizer]] ([[User talk:The Equalizer|talk]]) 18:34, 8 May 2025 (UTC)
::::@[[User:The Equalizer|The Equalizer]] No need for request of Phabricator. We should set "display:none;" CSS property for ".mw-kartographer-fullScreen" class. I tested it successfully in the inspector view my inspector of my browser.
::::I think it can be implemented by modifying this template only.
::::Line 1108 add
::::<syntaxhighlight>
:::: displaysquare = util.getParameterValue(args, "displaySquare") or L10n.defaults.displaySquare,
::::</syntaxhighlight>
::::and line 962 add
::::<syntaxhighlight>
::::if options.displaySquare == "no" then
:::: outerCountainer:css("display", "none")
::::</syntaxhighlight> [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 04:03, 9 May 2025 (UTC)