Difference between revisions of "Template talk:Person"
m (→Known issues: website parameter problem) |
(Robin, could you add influencewatch to "groups"?) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<small>[[Template talk:Person/archive 1|Page archive 1]]</small> | <small>[[Template talk:Person/archive 1|Page archive 1]]</small> | ||
+ | |||
+ | ==2019== | ||
+ | |||
+ | Jun 2019 - I just removed a call to [[Template:SMWDefaultMarkup]], since this is called anyway from [[Template:SMWDocs]]. -- [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 12:52, 29 June 2019 (UTC) | ||
+ | |||
==Maintaining Wikipedia compatibility== | ==Maintaining Wikipedia compatibility== | ||
The wikipedia Infobox templates use '[[Scribunto]]' to both parse and display template parameters. They are stuctured heirarchically with <code>Template:Infobox</code> using the parameters passed to it by <code>Template:Infobox person</code>. The call to <code>Template:Infobox</code> is the first item in the calling template. <code>Infobox</code> passes the <code>Infobox person</code>subsidiary template parameters to the ''Scribunto'' <code>Module:Infobox</code> as a series of numbered pairs. The allowable parameters are copy/pasteable from the <code>Infobox xxxx/doc</code>. | The wikipedia Infobox templates use '[[Scribunto]]' to both parse and display template parameters. They are stuctured heirarchically with <code>Template:Infobox</code> using the parameters passed to it by <code>Template:Infobox person</code>. The call to <code>Template:Infobox</code> is the first item in the calling template. <code>Infobox</code> passes the <code>Infobox person</code>subsidiary template parameters to the ''Scribunto'' <code>Module:Infobox</code> as a series of numbered pairs. The allowable parameters are copy/pasteable from the <code>Infobox xxxx/doc</code>. | ||
Line 9: | Line 14: | ||
Comments, observations etc. please --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 13:43, 18 February 2014 (GMT) | Comments, observations etc. please --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 13:43, 18 February 2014 (GMT) | ||
− | :I like the idea of maintaining compatability, but indeed quite a lot of the 72 pairs are not currently relevant to | + | :I like the idea of maintaining compatability, but indeed quite a lot of the 72 pairs are not currently relevant to Wikispooks and unlikely ever to be so. Meaning they can be replaced without loss, freeing up some slots for some custom Wikispooks parameters, such as WP page. [[User:Robin|Robin]] ([[User talk:Robin|talk]]) 13:53, 18 February 2014 (GMT) |
::Currently this template doesn't use the Infobox templates or Scribunto modules at all so the display issues are confined to the code in this template only. Let's keep it in use until I've debugged the needed changes to the WP template - I've only just figured out exactly how they work but I'm confident that we will be able to use them with minimal changes or issues. I'll use the 'Know issues' section below as it progresses --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 15:13, 18 February 2014 (GMT) | ::Currently this template doesn't use the Infobox templates or Scribunto modules at all so the display issues are confined to the code in this template only. Let's keep it in use until I've debugged the needed changes to the WP template - I've only just figured out exactly how they work but I'm confident that we will be able to use them with minimal changes or issues. I'll use the 'Know issues' section below as it progresses --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 15:13, 18 February 2014 (GMT) | ||
Line 16: | Line 21: | ||
''This list is incomplete. Please add to it:'' | ''This list is incomplete. Please add to it:'' | ||
+ | # <s>Sort Order - This is not correct for, e.g. [[H. John Heinz III]], which sorts under "iii", instead of of "Heinz - also for 'Jr' and 'Sr'"</s> | ||
# Poorly displayed parameters | # Poorly displayed parameters | ||
## Wikipedia | ## Wikipedia | ||
# Authority control is not implemented and needs work. The WP-compatible approach would be to use a separate template for this, as this is what Wikipedia does. Another would be to have a bunch of separate parameters for this for each separate authority. The purpose of authority control is to facilitate bots, whether updating or using this dataset, might not be that relevant as yet. | # Authority control is not implemented and needs work. The WP-compatible approach would be to use a separate template for this, as this is what Wikipedia does. Another would be to have a bunch of separate parameters for this for each separate authority. The purpose of authority control is to facilitate bots, whether updating or using this dataset, might not be that relevant as yet. | ||
− | |||
==Suggested Improvements == | ==Suggested Improvements == | ||
# It would be good to display SMW-derived information, such as | # It would be good to display SMW-derived information, such as | ||
− | ## '''Founded:''' (from [[Property:Has founder|Has founder]]) e.g. [[Robin Ramsay]], [[Lobster Magazine]] | + | ## <s>'''Founded:''' (from [[Property:Has founder|Has founder]]) e.g. [[Robin Ramsay]], [[Lobster Magazine]]</s> |
+ | |||
+ | ==Suggested Improvement == | ||
+ | This one could need a |partners= , similar to |spouses= , since not everybody is married. | ||
+ | [[User:Terje|Terje]] ([[User talk:Terje|talk]]) 06:57, 6 July 2022 (UTC)--- | ||
+ | |||
+ | ==2022 Siblings== | ||
+ | I've been using "siblings" a quite a few times over the years, without noticing that it does not exist! Should it be added, or should I instead just merge it with "relatives"? | ||
+ | |||
+ | Also, "partners" does not show. "partner" singlular will show, but won't hyperlink to the person. | ||
+ | [[User:Terje|Terje]] ([[User talk:Terje|talk]]) 03:49, 1 August 2022 (UTC)--- | ||
+ | |||
+ | ==Influencewatch== | ||
+ | Robin, | ||
+ | Could you add the possibility of having a link to https://www.influencewatch.org |influencewatch= for people? | ||
+ | [[User:Terje|Terje]] ([[User talk:Terje|talk]]) 00:01, 11 October 2022 (UTC) | ||
+ | |||
+ | :There are a few organizations with links to it as well, like [[Clinton Global Initiative]]. | ||
+ | [[User:Terje|Terje]] ([[User talk:Terje|talk]]) 02:17, 13 January 2023 (UTC) |
Latest revision as of 02:18, 13 January 2023
Contents
2019
Jun 2019 - I just removed a call to Template:SMWDefaultMarkup, since this is called anyway from Template:SMWDocs. -- Robin (talk) 12:52, 29 June 2019 (UTC)
Maintaining Wikipedia compatibility
The wikipedia Infobox templates use 'Scribunto' to both parse and display template parameters. They are stuctured heirarchically with Template:Infobox
using the parameters passed to it by Template:Infobox person
. The call to Template:Infobox
is the first item in the calling template. Infobox
passes the Infobox person
subsidiary template parameters to the Scribunto Module:Infobox
as a series of numbered pairs. The allowable parameters are copy/pasteable from the Infobox xxxx/doc
.
There are 72 parameter pairs available in the current iteration of the Template and module - ie more than Wikispooks is ever likely to wish to use. Scribunto identifies them by number so any new parameter names can probably replace existing pairs that are unlikely ever to be used by WS.
The templates seem to be working fine with the basic information currently being passed by the few pages that have been imported from Wikipedia and the Infobox specs left unchanged. It seems therefore that the simplest way forward will be to construct new templates for inclusion in the Infobox xxxx
templates and containing just the required SMW property assignments. minor adjustments to the existing parameter names will also be required (Noteably "known for" to replace "description" for persons - also probably birth and death date names and locations). The property assignments in the existing Template:Person
, with some parameter name adjustments can be used as the Infobox Person
include.
Comments, observations etc. please --Peter P (talk) 13:43, 18 February 2014 (GMT)
- I like the idea of maintaining compatability, but indeed quite a lot of the 72 pairs are not currently relevant to Wikispooks and unlikely ever to be so. Meaning they can be replaced without loss, freeing up some slots for some custom Wikispooks parameters, such as WP page. Robin (talk) 13:53, 18 February 2014 (GMT)
- Currently this template doesn't use the Infobox templates or Scribunto modules at all so the display issues are confined to the code in this template only. Let's keep it in use until I've debugged the needed changes to the WP template - I've only just figured out exactly how they work but I'm confident that we will be able to use them with minimal changes or issues. I'll use the 'Know issues' section below as it progresses --Peter P (talk) 15:13, 18 February 2014 (GMT)
Known issues
This list is incomplete. Please add to it:
Sort Order - This is not correct for, e.g. H. John Heinz III, which sorts under "iii", instead of of "Heinz - also for 'Jr' and 'Sr'"- Poorly displayed parameters
- Wikipedia
- Authority control is not implemented and needs work. The WP-compatible approach would be to use a separate template for this, as this is what Wikipedia does. Another would be to have a bunch of separate parameters for this for each separate authority. The purpose of authority control is to facilitate bots, whether updating or using this dataset, might not be that relevant as yet.
Suggested Improvements
- It would be good to display SMW-derived information, such as
Founded: (from Has founder) e.g. Robin Ramsay, Lobster Magazine
Suggested Improvement
This one could need a |partners= , similar to |spouses= , since not everybody is married. Terje (talk) 06:57, 6 July 2022 (UTC)---
2022 Siblings
I've been using "siblings" a quite a few times over the years, without noticing that it does not exist! Should it be added, or should I instead just merge it with "relatives"?
Also, "partners" does not show. "partner" singlular will show, but won't hyperlink to the person. Terje (talk) 03:49, 1 August 2022 (UTC)---
Influencewatch
Robin, Could you add the possibility of having a link to https://www.influencewatch.org |influencewatch= for people? Terje (talk) 00:01, 11 October 2022 (UTC)
- There are a few organizations with links to it as well, like Clinton Global Initiative.