Forums: Index > Help desk > Multiple spouses - display

Have a look at Elidor Campbell, a hndis page. The second one had two partners, but the column combines them (including the plus sign) and says there's no such page, which is true but highly misleading.

I don't think it matters much, because people wanting that Elidor will probably go straight to his page, where his long-secret high-society mistress is blue-linked and all will be well.

But if there is an easy fix I'd like to see it.

-- Robin Patterson (Talk) 09:40, December 13, 2017 (UTC)

This has always been a problem with displaying Property:Joined_with directly (as we fight with SMW about the role of a comma). I fixed the most obvious example, {{showfacts children}} long since, though I think this is still a spurious extra line in it. However there are still various places where the display is broken:
  • the "namesake" table on a "person" page
  • tables on the "bdm" subpages
  • tables on the "hndis" pages
There may be others I haven't remembered. My suggested solution is to define a new Property:Joined_with_display, which will convert a "Joined_with" value (eg of Abraham ben Terah) of Sarah+Hagar+Keturah to
to display as
Then change the tables to use the new properties. The computatoin of the new property would be in {{showfacts person}} Thurstan (talk) 19:22, December 13, 2017 (UTC)
(Minor quibble: isn't <br> now supposed to be replaced by <br />?) I did wonder whether the bug affected other sorts of page. Yes. But the fact that I've not noticed or had a problem with it anywhere else (and only noticed this one because I had spent a lot of time creating that mistress's page - an ancestor of a friend) confirms my view that it's not something that would affect, or even be apparent to, many users often. I sometimes click on a blue-linked parent or spouse on one of those pages if it seems to need renaming (e.g. for a question-mark or for spaces around dates or an initial "Sir"). If multiple spouses became blue instead of red I'd have more to choose from! But it's a very small matter. If Thurstan's proposed bugfix isn't too arduous or "expensive" I'll welcome it, but I'm not pushing for it. Anyone else got feelings about it? -- Robin Patterson (Talk) 03:27, December 14, 2017 (UTC)
I have just added the "/": there is a question about whether we generate HTML or XHTML. Do we have a guideline?
Your comments are interesting: this "infelicity" has always annoyed me, and I notice it all the time, so I don't know how to judge the impact on other users. I have a version ready to test: it took more fighting with the wikia parser than I like! See Forum:Templates update‎ for the full feature list. Thurstan (talk) 03:42, December 14, 2017 (UTC)