<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.almasanclemente.es/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo_discusi%C3%B3n%3APerson_date</id>
	<title>Módulo discusión:Person date - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.almasanclemente.es/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo_discusi%C3%B3n%3APerson_date"/>
	<link rel="alternate" type="text/html" href="https://wiki.almasanclemente.es/index.php?title=M%C3%B3dulo_discusi%C3%B3n:Person_date&amp;action=history"/>
	<updated>2026-10-07T18:17:19Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.almasanclemente.es/index.php?title=M%C3%B3dulo_discusi%C3%B3n:Person_date&amp;diff=719&amp;oldid=prev</id>
		<title>Enrique 7893: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="https://wiki.almasanclemente.es/index.php?title=M%C3%B3dulo_discusi%C3%B3n:Person_date&amp;diff=719&amp;oldid=prev"/>
		<updated>2026-08-13T10:34:57Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 10:34 13 ago 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-718:rev-719 --&gt;
&lt;/table&gt;</summary>
		<author><name>Enrique 7893</name></author>
	</entry>
	<entry>
		<id>https://wiki.almasanclemente.es/index.php?title=M%C3%B3dulo_discusi%C3%B3n:Person_date&amp;diff=718&amp;oldid=prev</id>
		<title>:en&gt;Zackmann08: /* Add unknown catch? */</title>
		<link rel="alternate" type="text/html" href="https://wiki.almasanclemente.es/index.php?title=M%C3%B3dulo_discusi%C3%B3n:Person_date&amp;diff=718&amp;oldid=prev"/>
		<updated>2025-10-23T21:40:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Add unknown catch?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{talk page}}&lt;br /&gt;
&lt;br /&gt;
== Add unknown catch? ==&lt;br /&gt;
&lt;br /&gt;
So in the rollout of this I’ve noticed a few infoboxes ({{tl|Infobox writer}}, {{tl|Infobox comics creator}} and others) have the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{br separated entries&lt;br /&gt;
| 1={{{birth_name|}}}&lt;br /&gt;
| 2={{#switch:{{lc:{{{birth_date|}}}}}&lt;br /&gt;
    |? |?? |??? |???? |19? |19?? |18?? |17?? |u |unk |unknown = {{abbr|DOB|Date of birth}}&amp;amp;nbsp;unknown&lt;br /&gt;
    | {{{birth_date|}}}&lt;br /&gt;
 }}&lt;br /&gt;
| 3={{{birth_place|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I’m curious if that should be folded into this code? {{ping|Gonnym|Jonesey95}} any thoughts? — &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 21:49, 26 September 2025 (UTC)&lt;br /&gt;
:I would prefer to see that sort of input marked as invalid so that it can be removed. A partially known birth year can be explained in the body and should not be in the infobox. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 22:22, 26 September 2025 (UTC)&lt;br /&gt;
::That seems like a reasonable approach to me! I’ll wait for others to chime in but otherwise I’ll implement some category tracking. —&amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 22:27, 26 September 2025 (UTC)&lt;br /&gt;
:::Ok so I’ve mocked up a tracking category that I’m calling [[:Category:Pages where birth or death date is unacceptable]]. It checks for the above cases. [https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&amp;amp;page1=Module%3APerson+date&amp;amp;page2=Module%3APerson+date%2Fsandbox see the diff]. {{u|Gonnym}} if you are happy with the sandbox code, let me know and I’ll push it through (or you can).&lt;br /&gt;
:::I’ve setup the [[Template:Infobox person/birth/testcases|testcases]] to properly look at and compare [[Module:Person date]] with [[Module:Person date/sandbox]]. &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 08:31, 27 September 2025 (UTC)&lt;br /&gt;
::::I didn&amp;#039;t test my changes, so those need to be test. Regarding the category name, I think [[:Category:Pages with invalid birth or death dates]] would be clearer. I also agree with Jonesey, partial dates like that should not be supported. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 12:34, 28 September 2025 (UTC)&lt;br /&gt;
:::::MoS guideline at [[MOS:CIRCA]]. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 12:35, 28 September 2025 (UTC)&lt;br /&gt;
::::::{{implemented}} - &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 22:31, 29 September 2025 (UTC)&lt;br /&gt;
{{od|7}}&lt;br /&gt;
So in a recent discussion, {{ping|Nikkimaria|Nehme1499|Number 57}} brought to my attention that per [[MOS:INFOBOX]], {{tq|If a parameter is not applicable, or no information is available, it should be left blank, and the template coded to selectively hide information or provide default values for parameters that are not defined.}} There is also the essay [[WP:UNKNOWN]]. With that in mind, since we already have a hook to check for values that contain question marks (i.e. {{para|death_date|?}}, {{para|birth_date|19??}}, etc) and place them in {{cl|Category:Pages with invalid birth or death dates}} should we expand on that and simply suppress these values as well as those that simply supply {{para|..._date|Unknown}}? Right now the code does NOT change the display for these values, it just adds the page to the tracking category. I can very easily set it up so that if one of those values is passed it will not be displayed at all. (Note this would NOT prevent things like &amp;quot;1910s&amp;quot;, &amp;quot;{{circa}} 1905&amp;quot;, &amp;quot;around 1925&amp;quot;, &amp;quot;1918 or 19&amp;quot;, etc. The [[regex]] I&amp;#039;m talking about would only affect dates that contain a question mark or contain the word unknown (without a reference, dates that are &amp;quot;Unknown&amp;quot; with a ref tag inline would not be affected. &lt;br /&gt;
&lt;br /&gt;
At the moment this code is live on over 1.1 million pages, so I want to make sure that any changes made are clearly vetted and discussed. At first glance, this proposal seems very much in line with MOS, but are there situations I&amp;#039;m not considering or OTHER MOS policies I don&amp;#039;t know about that this type of change would be in violation of? Thanks in advance for the input! --&amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 06:10, 15 October 2025 (UTC)&lt;br /&gt;
:The parameter should be hidden when nothing is known (the &amp;quot;?&amp;quot; or &amp;quot;unknown&amp;quot; case). The &amp;quot;19??&amp;quot; case, though, is a bit different - sometimes it&amp;#039;s an assumption about something that&amp;#039;s really unknown, but sometimes it&amp;#039;s substituting for a &amp;quot;circa&amp;quot; or a &amp;quot;1910s&amp;quot;-type value. [[User:Nikkimaria|Nikkimaria]] ([[User talk:Nikkimaria|talk]]) 23:16, 15 October 2025 (UTC)&lt;br /&gt;
::One additional thought I had is that if we implement this, there should definitely be a {{tl|preview warning}}. It would be rather confusing for an editor to put {{para|birth_date|unknown}} and just have nothing show up. I know it would drive me nuts if that happened and it would require a pretty deep dive to see why that is being suppressed. At least this way we can put a preview message saying something along the lines of {{red|&amp;#039;&amp;#039;This value is invalid per [[MOS:INFOBOX]] &amp;amp; [[WP:UNKNOWN]], it will not be shown when saved.&amp;#039;&amp;#039;}} (Obviously open to suggestions on better language). &lt;br /&gt;
::{{u|Nikkimaria}} per your point about the {{code|19??}} case, I would still have things placed in the maintenence category ({{cl|Category:Pages with invalid birth or death dates}}) so we can certainly go through and clean up things like {{code|19??}} with {{tlc|circa|1900}} or something. &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 23:25, 15 October 2025 (UTC)&lt;br /&gt;
:::So {{clc|Category:Pages with invalid birth or death dates}} has exploded since I added {{code|Unknown}} to populate the category as well. Full disclosure, many of those are a result of me adding Unknown early on in the implementation of this module. This was BEFORE I was educated on [[MOS:INFOBOX]] and [[WP:UNKNOWN]]. Not doing it anymore and plan to fix those that I did insert &amp;quot;Unknown&amp;quot; into. &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 20:45, 16 October 2025 (UTC)&lt;br /&gt;
::::Mocked something up in the infobox... The message displayed &amp;#039;&amp;#039;{{red|&amp;#039;&amp;#039;&amp;#039;Preview warning&amp;#039;&amp;#039;&amp;#039;: birth_date &amp;quot;VALUE&amp;quot; is invalid per [[MOS:INFOBOX]] &amp;amp; [[WP:UNKNOWN]], it will not be shown when saved.}}&amp;#039;&amp;#039; VALUE is replaced by whatever invalid input was supplied. I.E. {{code|Unknown}}, {{code|??}} etc. Also when the error is on death_date instead the warning changes to reflect that. &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 22:24, 16 October 2025 (UTC)&lt;br /&gt;
:::::I went ahead and filed an [[Wikipedia:Village pump (proposals)#RFC: What should be done about unknown birth/death dates|RFC here]] to get guidance on how to proceed. &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 23:45, 21 October 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Proper testcases ==&lt;br /&gt;
&lt;br /&gt;
I have implemented proper [[Module:Person date/testcases|testcases]]. Please add any edge cases you can think of that we want to be sure and test moving forward. —&amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 05:21, 1 October 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Code review request ==&lt;br /&gt;
&lt;br /&gt;
{{ping|Gonnym|Jonesey95|Jevansen|WOSlinker}} At your earliest convenience can you review the code in the [[Module:Person date/sandbox|sandbox]]? Given how widely used this code is now, I&amp;#039;m wary of committing anything that has the potential to break hundreds of thousands of pages without a second set of eyes. It is a bit of a refactor and a bit of new behavior:&lt;br /&gt;
* It will take into account the presence of a {{para|disappeared_date}}. If one is present (i.e. the value is not null) it will NOT modify the value of birth_date in anyway and thus not calculate the age for someone who has dissapeared. &lt;br /&gt;
* It sets up a future improvement whereby age at disappearance can also be automatically calculated (not doing that now, but laying the ground work). &lt;br /&gt;
* I changed the way that I am collecting the args so that I can implement the module directly in the Infobox (bypassing {{tl|Infobox person/birth}} &amp;amp; {{tl|Infobox person/death}}). Critically those still work, but it will also check for the values of {{para|birth_date}} and {{para|death_date}}&lt;br /&gt;
&lt;br /&gt;
Note that there are expected failures in the [[Module talk:Person date/testcases|testcases]] because of the change and newly implemented testcases. Thanks in advance! - &amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 08:04, 19 October 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
:{{ping|Zackmann08}} Looks mainly ok.  I think you should check for named parameters before numbered ones though and probably work towards not using numbered params at all once everywhere is using named params. Examples below. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 08:15, 19 October 2025 (UTC)&lt;br /&gt;
{{Infobox person&lt;br /&gt;
|name = Infobox person&lt;br /&gt;
|birth_date = 1 Jan 1950&lt;br /&gt;
|some rubbish&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox person/sandbox&lt;br /&gt;
|name = Infobox person/sandbox&lt;br /&gt;
|birth_date = 1 Jan 1950&lt;br /&gt;
|some rubbish&lt;br /&gt;
}}&lt;br /&gt;
::{{ping|WOSlinker}} VERY good catch. The plan is to eliminate the numbered params, but in the mean time should def default to the named ones first. Good thinking. --&amp;#039;&amp;#039;&amp;#039;[[User:Zackmann08|&amp;lt;span style=&amp;quot;color:#00ced1&amp;quot;&amp;gt;Zack&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#007F94&amp;quot;&amp;gt;mann&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039; (&amp;lt;sup&amp;gt;[[User_talk:Zackmann08|Talk to me]]&amp;lt;/sup&amp;gt;/&amp;lt;sub&amp;gt;[[Special:Contributions/Zackmann08|&amp;lt;span style=&amp;quot;color:orange;&amp;quot;&amp;gt;What I been doing&amp;lt;/span&amp;gt;]]&amp;lt;/sub&amp;gt;) 08:32, 19 October 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>:en&gt;Zackmann08</name></author>
	</entry>
</feed>