Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

User talk:Zackmann08

Page contents not supported in other languages.
This editor is a Grandmaster Editor.
This editor is a Senior Editor III and is entitled to display this Rhodium Editor Star.
This editor has made over 100,000 edits to Wikipedia!
This editor has made over 250,000 edits to Wikipedia!
This user helped "Cedar Fire (2003)" become a good article on 5 January 2016.
This user helped "Jesusita Fire" become a good article on 29 September 2016.
This user helped "Refugio oil spill" become a good article on 8 December 2015.
This user helped "Rim Fire" become a good article on 30 December 2016.
This user helped "Sherpa Fire" become a good article on 13 August 2016.
This user helped "Valley Fire" become a good article on 27 December 2016.
This user helped get Blue Cut Fire listed on the "In the News" section of the main page on 18 August 2016.
This user has autopatrolled rights on the English Wikipedia.
This user has AutoWikiBrowser permissions on the English Wikipedia.
This user is not an admin.
Identified as a precious editor on July 29, 2016
This user has pending changes reviewer rights on the English Wikipedia.
This user has rollback rights on the English Wikipedia.
This user has template editor rights on the English Wikipedia.
Trout this user
This user uses Twinkle to fight vandalism.
From Wikipedia, the free encyclopedia

User:Zackmann08User talk:Zackmann08User:Zackmann08/AwardsUser:Zackmann08/ContactsUser:Zackmann08/NotesUser:Zackmann08/TemplatesUser:Zackmann08/Wikipedia BookmarksUser:Zackmann08/sandbox
UserTalkAwardsContactsNotesTemplates/ToolsBookmarksMy Sandbox

This isZackmann08'stalk page, where you can send him messages and comments.
Archives:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16Auto-archiving period:30 days 

Zackmann08 will be away onvacation until December 2, 2025 and may not respond swiftly to queries.

Bizarre mapframe maps to fix (200 pages)

[edit]

I thought you might be interested inthis list of 200 pages, which appear to needthis fix, or something similar.

I found this page onthis awful list of pages that use template parameters or magic words directly in articles. I think there are some false positives on the list (some of the instances of PAGENAME might be acceptable, and even helpful in the event of page moves), but there is a lot of junk to fix there. There is a lot of low-hanging fruit, likethese 29 articles (note triple braces) andthese 80 pages. –Jonesey95 (talk)20:12, 10 November 2025 (UTC)[reply]

Wow. Just wow... These are.... Interesting.... Lol. I'll add them to my to do list! Thanks yo!Zackmann (Talk to me/What I been doing)21:16, 10 November 2025 (UTC)[reply]
@Jonesey95: I fixed the mapframes. Will work on the others next. If you get a chance, mind reviewingthis edit? Want to get a second set of eyes on it... Make sure I'm not overlooking anything. --Zackmann (Talk to me/What I been doing)23:25, 10 November 2025 (UTC)[reply]
 Done Got all those taken care of plus a few other variants. If you find anymore, feel free to drop me another link!Zackmann (Talk to me/What I been doing)00:35, 11 November 2025 (UTC)[reply]
So many weird ones in that list.64 pages where state needs to be removed, with autocollapse left behind (like this). About800 eclipse articles (fix like this). And just for fun,968 articles calling an unnamed parameter (fixes will vary; sometimes you need tokeep the number). –Jonesey95 (talk)02:39, 11 November 2025 (UTC)[reply]
First one is done, AMAZING how many instances of cases where people substituted navboxes into pages instead of using the template call.
Setup the regex for the eclipse ones, will run that in a bit.
For the third one, I had to update the regex you used to search because there are hundreds of articles with an HTML comment saying "...defines value for {{{1}}}..." (SeeAcibadem City Clinic Tokuda Hospital for example).Zackmann (Talk to me/What I been doing)04:54, 11 November 2025 (UTC)[reply]
Usages in articles of the PAGENAME magic word in an infobox is usually just a sign of either a bad design of the infobox or editors not understanding how to use the infobox correctly. In both situations it should be removed. If the infobox uses the page name of the article, then just code it to use it and only use an override if its needed. So something like:parameter ={{If empty|{{{parameter|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}.Gonnym (talk)11:39, 11 November 2025 (UTC)[reply]
Or the infobox initially was not coded to use the page name, and it was later changed. It looks likethese 200+ articles can have their|name= line removed, as{{mycomorphbox}} sets the box title using the page name. –Jonesey95 (talk)15:46, 11 November 2025 (UTC)[reply]
Noticed those and started working on them too. Does require a careful check as there are a few cases of tables being transcluded onto other pages that change based on the PAGENAME.Zackmann (Talk to me/What I been doing)16:15, 11 November 2025 (UTC)[reply]
Indeed; I have been working on batches of pages, and every once in while, there is an outlier. Manual checking is good.Here's another batch of 263 pages that needPAGENAME removed. Our work has gotten the population of that report down from about 4,500 to about 3,000 pages so far. Probably a dozen or two of the remaining ones need to be addressed carefully, using &lbrace; instead of removing the third brace where it is wrapping a template,like this. –Jonesey95 (talk)19:48, 11 November 2025 (UTC)[reply]
Sounds good! Keep em coming.Zackmann (Talk to me/What I been doing)19:49, 11 November 2025 (UTC)[reply]
@Jonesey95: if you find any more, add em to the list below? Will make it easier for me to track what is and isn't done. --Zackmann (Talk to me/What I been doing)22:44, 11 November 2025 (UTC)[reply]
The templates like{{(}} might be better than the html entity as it's less confusing (to me at least).Gonnym (talk)15:48, 12 November 2025 (UTC)[reply]
@Jonesey95: thanks for the tips you posted below. Good to have a second set of eyes on these. Found out the hard way about subst not working in ref tags.FacepalmFacepalm that is ANNOYING... Side note, is there any MOS you can point me too that explicitly says parser function logic should not be used in the article space? It seems obvious that behavior belongs in a Template, but is that actually explicitly said anywhere?Zackmann (Talk to me/What I been doing)05:37, 13 November 2025 (UTC)[reply]
Not that I know of, but[1] is marked as "high priority". For me it comes down to two main things. The first being that regular editors understand plain text much better than wikipedia template language code. The second is that fixing "small" code issues, will clear up the noise to find actual real errors (like someone copy-pasting a navbox instead of transcluding it). So in the end every fix is valid.Gonnym (talk)06:35, 13 November 2025 (UTC)[reply]
I don't know of any such guidance, but I haven't looked very hard. As for "high priority" etc., it is always valuable to remember, especially for neglected reports such as this one, that the report was created by a human at some point, and that human may or may not have understood all of the possible cases that would be surfaced by their report. They may have been basing the report on a guideline or policy that has subsequently changed. It is best not to trust such reports blindly. There are many definite errors in the report, but some of the cases seem marginally reasonable to me, like the use of PAGENAME to avoid having to edit pages that might be moved to a new name. Some of the uses of table markup templates inside templates also seem like reasonable exceptions. –Jonesey95 (talk)15:26, 13 November 2025 (UTC)[reply]
That is true, but when something has been like that for a long time, probably many years, and no one has complained with pitch forks, then that's a sign that that the WP:ONUS to change that priority is on those who are complaining. So whatever the reason behind the priority setting, it's pretty much set in stone until officially challenged, which I'll be there to oppose.Gonnym (talk)15:44, 13 November 2025 (UTC)[reply]
"It's always been like that" is a shaky justification for any practice. It's always good to do a bit of research and have a real justification. As I said, there are valid usages in that neglected report; it might be better to figure out how to adjust the report to match current (best?) practices. –Jonesey95 (talk)16:38, 13 November 2025 (UTC)[reply]
Can I just vent for a second? WHY... THE F#$K WOULD YOU NEED TO DOTHIS!?!?FacepalmFacepalmZackmann (Talk to me/What I been doing)03:53, 14 November 2025 (UTC)[reply]
Yeah, I saw a few of those oddballs. I assume someone was trying to somehow preserve the original case of the title printed in the book, instead of just followingMOS:TITLECAPS like we are supposed to do. –Jonesey95 (talk)04:46, 14 November 2025 (UTC)[reply]
@Jonesey95: for number 14 below I got all those I could find. I used a few different regexes to find them. Eventually I'll get to number 15 which is the remaining#switch statements and I'll keep an eye out for anymore.Zackmann (Talk to me/What I been doing)03:48, 15 November 2025 (UTC)[reply]
Re finding number 14: are you usingthe report, and then marking pages as Done when you fix them? That is the easiest way to find affected pages. –Jonesey95 (talk)05:25, 15 November 2025 (UTC)[reply]
I am not... in order to bulk load them intoJWB I have to use a search...Zackmann (Talk to me/What I been doing)05:28, 15 November 2025 (UTC)[reply]

To Do

[edit]
  1.  DoneHere's another batch of 263 pages
  2.  Donethese 200+ articles
  3.  Done140 pages with width followed by a positive or negative number
  4.  Both done24 pages with infobox galaxy and redundant|name=. For bonus points, remove the unsupported|image_size=.
  5.  Done511 pages with PAGENAME in Infobox Settlement
  6.  Done80 pages with caption parameter
  7.  Done900+ school districts with PAGENAME
  8.  Partly done1,000+ pages with PAGENAME (or variant) (note that substing doesn't work inside<ref>...</ref> tags). Beware of pagenames like "Sümeyye Özcan (footballer)". this one didn't really work...
  9. 450+ generic param usage - For MOST replace\{\{\{[\-\_\,\s\w]+\|([\-\_\,\w\s\.]*)\}\}\}$1 (watch for actual templates, as inManx runestones andDemographics of Denmark)
  10.  Done240+ instances of #ifexist - subst the result of the parserfunction (better: show red links, which are fine; most of these links are for women, and we need to create missing articles about notable women)
  11. 120+ instances of #ifeq - Check for article's transcluding section. If none, subst result of the parser function. (note that some of these are testing things like the current month to display a value like "closed" or "open" for a highway; replacing these with a template is probably the right fix)
  12. 220+ instances of #if - Check for article's transcluding section. If none, subst result of the parser function.
  13.  Done46 instances of using lower/uppercase magic words - Note this excludes cases where changes are being made to a value retrieved from a template. Subst result.
  14.  DoneReplace manual switch statement with new template,{{Date of next Friday}}. There is probably a better way to structure and name this new template so that it can work for any day of the week, but it looks like there are 28 articles, some with multiple #switch statements, that could use this replacement.
  15.  Partly done At most5712 with switch statements; the holiday ones might be able to replaced with clever templates that could live inCategory:Date-computing templates. A few more templates are possible and might require some cleverness.
  16.  Done71 articles needingthis removal of a nonfunctional if statement
  17.  Done85 pages needing PAGENAME replaced with actual page name (inside refs; subst won't work)
  18.  Done1,400+ with PAGENAME - being careful with cases where it is in a<ref>...</ref>

mapframe = yes

[edit]
CLOSED
Further discussion movedhere

The following discussion is closed.Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hey, I was wondering if you can explain the need for|mapframe=yes (I browsed the code and didn't dive into so hopefully you don't mind saving me the effort). If someone uses the other mapframe parameters like|mapframe=zoom wouldn't the backend already know to use the mapframe? Or can the zoom value be for something else also?Gonnym (talk)21:23, 23 November 2025 (UTC)[reply]

@Gonnym: so full disclosure I did not designModule:infobox mapframe so I am not privy to why certain design choices were made. You could certainly make an argument that if|mapframe-zoom= is turned on it should default to turning on the mapframe itself... The issue I think is that many of those params are set in the infobox, not the transclusion. Let me try to explain...
If you look at{{Infobox settlement}} you will see that (for example)|mapframe-marker=town. Now you can always override that on a specific transclusion, but if the code for the module said"If any of themapframe-... params are set, then turn on the mapframe", the mapframe would be turned on for ALL transclusions of{{infobox settlement}}.
There is also the logic in most infoboxes turn turn on the mapframe by default if there is no pushpin map... What you are suggesting could be a useful improvement, but I think it just has other side effects that you may not realize.
Side not, is there a specific transclusion you are looking at that is concerning? Or was this more of a general attempt to understand how/why something works?
Hope my explanation makes at least some sense... Let me know if I can help further! --Zackmann (Talk to me/What I been doing)00:05, 24 November 2025 (UTC)[reply]
Nothing specific, I just found it strange. It's like we would add|image=yes and|image-file=example.jpg, which we obviously don't do, even though we have a similar situation there. For{{infobox settlement}}'s example, I'd add a conditional check in the template's code to only call the module if the required parameter is used (or even better, if|mapframe-marker= by itself should trigger anything, then disable it at the module level and have even cleaner code). I have no idea how map-frame works so I have no idea which parameter is the "required" one for it to display something correctly. But in general, I'm against the idea of having the end-user add redundant parameters when we, the developers, can do the work for them behind the scenes.Gonnym (talk)06:42, 24 November 2025 (UTC)[reply]
So your example of|image=yes doesn't really fit. While I get what you are saying it is a bit different here. The key difference is found if you look into|onByDefault= in the call toModule:Infobox mapframe.
Basically in{{Infobox settlement}}, if you look at the source code you will find an#if: statement that checks if a{{{pushpin_map}}},{{{image_map}}} or{{{image_map1}}} have been supplied. If they have not been, then the mapframe is turned on by default and using|mapframe=yes in that articles transclusion is, in fact, redundant and not needed. HOWEVER, if for example a pushpin_map is supplied, you must specify|mapframe=yes in the article to turn on the mapframe.
Now your argument seems to be that if any of the othermapframe-... params are supplied in the article, that should ALSO turn the mapframe on and negate the necessity for saying|mapframe=yes. That is an interesting idea. From a technical standpoint I'm not sure what that would look like though because so many of those parameters are also defined in the call to the module in{{Infobox settlement}} so I'm not even sure it would be possible. Additionally, this sort of change would likely result in suddenly turning on mapframes in a large number of articles where they previously were not onwithout any changes being made to the articles themselves. This could be very confusing for editors who have no idea why maps are suddenly showing up in an article with no recent changes.
I'm not opposed to the idea, but it would absolutely require a deeper dive than I either have time or technical knowledge to perform. That being said, a post atModule talk:Infobox mapframe should get you some more info!Zackmann (Talk to me/What I been doing)06:51, 24 November 2025 (UTC)[reply]
The discussion above is closed.Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Remove birthdate and birth name in Tony Nardi's wikipedia page

[edit]

I do not want my birthdate and birth name on the Wikipedia Page. I have asked for it to be removed in the past, and to respect my privacy, and it disappeared for awhile, but suddenly it's back. What about this message is difficult to understand? Thank you. Tony Nardi~2025-35918-69 (talk)08:12, 24 November 2025 (UTC)[reply]

Your birthdate and name are already well publicized athttps://www.canadiantheatre.com/dict.pl?term=Nardi,%20Tony... Not sure what you are complaining to me about?Zackmann (Talk to me/What I been doing)08:13, 24 November 2025 (UTC)[reply]
I would refer you to therequest for oversight team... They may be able to help you.Zackmann (Talk to me/What I been doing)08:14, 24 November 2025 (UTC)[reply]

Speedy deletion declined:Ken Shults

[edit]

Hello Zackmann08. I am just letting you know that I declined the speedy deletion ofKen Shults, a page you tagged for speedy deletion, because of the following concern: Footbag world champion is a credible claim of importance. Thank you.Whpq (talk)03:23, 25 November 2025 (UTC)[reply]

World champion of something that is barely a sport? If you say so...Zackmann (Talk to me/What I been doing)03:32, 25 November 2025 (UTC)[reply]
Perhaps so, but it is enough of a sport that Sports Illustrated profiled Shults.Whpq (talk)04:16, 25 November 2025 (UTC)[reply]
Touché... Fair enough! Good call.Zackmann (Talk to me/What I been doing)04:19, 25 November 2025 (UTC)[reply]

Population density

[edit]

HiZackmann08, just a note on the population density calculation which I know you have automated in the settlement infobox. It may not be as straightforward as it seems. Population density should be calculated using the land area, not the total figure. Sometimes these are the same, particularly for dry inland areas. But for coastal areas or places with a lot of large inland lakes like Florida or Scotland, the total area figure and the land area figure will be very different.

The settlement infobox therefore has two relevant area fields: area_total_km2 and area_land_km2. The density figure should be calculated using the area_land_km2 figure, not total (unless the land field is empty which usually means that the land and total figures are the same). For a real life example, seeLiverpool, England.Dgp4004 (talk)12:41, 26 November 2025 (UTC)[reply]

It's also worth noting that whether the area figures are rounded or not (they usually are) will affect the density figure. For example Liverpool's land area is 111.842 km2, which gives a density of 4551. But calculated from a rounded land figure of 112 km2, the density becomes 4544. And if calculated from the total area figure, density would be the wildly inaccurate 3798.Dgp4004 (talk)12:48, 26 November 2025 (UTC)[reply]
This is a discussion for{{infobox settlement}}, not my talk page...Zackmann (Talk to me/What I been doing)15:27, 26 November 2025 (UTC)[reply]
Okay, I'll post it there...Dgp4004 (talk)16:17, 26 November 2025 (UTC)[reply]
To be clear, I will avoid changing pages to use the automatic conversion, but it sounds like you are saying there is a bug in the template's code... That needs to be discussed on the template...Zackmann (Talk to me/What I been doing)16:43, 26 November 2025 (UTC)[reply]

Module:MergedMap

[edit]

Did you seeModule:MergedMap? Not sure how this affects your map edits, if at all.Gonnym (talk)08:48, 27 November 2025 (UTC)[reply]

Thanks for the message. I did see it... While thus far I like it, I think it has a LONG way to go before it can replace the mapframe and pushpin maps we currently use. But we shall see! Happy Turkey Day (if you're American)!Zackmann (Talk to me/What I been doing)16:17, 27 November 2025 (UTC)[reply]
Retrieved from "https://en.wikipedia.org/w/index.php?title=User_talk:Zackmann08&oldid=1324431798"

[8]ページ先頭

©2009-2025 Movatter.jp