Property talk:P11260

Documentation

list item
qualifier for "union of" (P2737) and "disjoint union of" (P2738) to identify constituent entities
Data typeItem
Usage notesUse as qualifier for P2737 and P2738 to identify constituent entities. (replaces P642 for this use)
Lists
Proposal discussionProposal discussion
Current uses
Total4,308
Qualifier4,308100% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is as qualifier (Q54828449): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P11260#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P11260#Entity types

External usage of the qualifier « of » … edit

@Lectrician1, Wd-Ryan, ChristianKl, The-erinaceous-one, Tinker Bell:

I missed the discussion about the creation of this item. There is something missing in such a migration process : the construction is used in {{Class documentation}} through {{Class reports}} and {{Union of}}, and in the documentation page Help:P2738. author  TomT0m / talk page 13:56, 14 December 2022 (UTC)Reply

And only today did I read this note, as I went here to report...
@TomT0m, @Swpb, @Infovarius: After myself being annoyed by the Lua errors on certain Talk pages, I have spent the last few days studying and updating Module:Properties to support the list item (P11260) qualifier and Module:Requests/union_of to use props.list_item instead of props.of to list constituent classes of class unions, which should make Template:Class reports, Template:Item classification and Template:Item documentation work again for these unions. I hope I got it right; I have previously only written Lua code in my personal sandbox.
The constant props.of remains supported in case it's used by some other module, but I haven't maintained backward compatibility in the union function, meaning that now any items still using the old class union of (P642) syntax will fail instead. Could this be a problem somewhere, say other instances of Wikidata or other wikis using the current Wikidata modules (or fresh copies of them)?
By the way, I don't consider the Template and Module namespaces at Wikidata as "external usage", but I plan to search all namespaces (excluding User and any talk namespaces) for lingering references to P642; I was however unable to keep pace with the actual change on December 14. I hope we will identify remaining uses before replacing the next major batch of qualifiers.
I refer to such things as the Quarry (Q23983930) as "external usage"; I don't know how official they are or what we can do to help them adapt to the changes. --SM5POR (talk) 22:56, 24 January 2023 (UTC)Reply
I forgot to mention that I updated Template:Disjoint union as well (it was a comparably trivial edit). --SM5POR (talk) 10:19, 26 January 2023 (UTC)Reply
@TomT0m, @MisterSynergy: Also, I haven't done anything about Help:P2738 as I'm unfamiliar with the translation stuff and page inclusion complexities involved. I suppose it's only a matter of replacing "642" with "11260", but I'd rather let someone more familiar with these pages do the actual change. I have limited time to spend on this effort, but I'm eager to see it done right. I think I made the observation almost a year ago in the of (P642) deprecation preparations that we had to go through user documentation pages as well, but didn't pay attention to it as the year went by and I was occupied by other things. --SM5POR (talk) 07:11, 25 January 2023 (UTC)Reply
I had no idea Help:P2738 even existed. It's not even linked on the disjoint union of (P2738). How sad. Lectrician1 (talk) 22:50, 25 January 2023 (UTC)Reply
Well, it kind of is linked by being included in the Property talk:P2738#Documentation section. What I'd like to know is whether there are more Help pages included elsewhere like that. Perhaps a regular full-text search for the inclusion mechanism can solve the problem, if we want to have the documentation ready when the change is actually implemented? For the Dagen H (Q376921) transition, detailed documentation and even songs were written years in advance to raise public awareness... SM5POR (talk) 08:11, 26 January 2023 (UTC)Reply
Return to "P11260" page.