Discussion utilisateur:Kghbln
→ page for storing reference data
Constraint[edit]
Could you please create a constraint called smw/schema:Constraint:MandatoryProperties with the content:
{
"type": "CLASS_CONSTRAINT_SCHEMA",
"constraints": {
"mandatory_properties": [ "Mandatory 1", "Mandatory 2" ]
},
"tags": [
"class constraint",
"mandatory properties"
]
}
I have no permissions do that. I am trying to reproduce an integration test case "#4 (violation of `mandatory_properties`, missing two properties, subobject)" from p-1110.json.
Alex Mashin (discussion) 20 novembre 2021 à 10:35 (CET)
- Done. Showing an error though. Cheers --[[kgh]] (discussion) 20 novembre 2021 à 10:36 (CET)
- Ah not saved. Omg. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Done now after disabling Lingo and Semantic Glossary. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Ah not saved. Omg. --[[kgh]] (discussion) 20 novembre 2021 à 10:40 (CET)
- Thank you.
Alex Mashin (discussion) 20 novembre 2021 à 10:59 (CET)
smw-schemaedit permission[edit]
Karsten, could I have the smw-schemaedit permission in this wiki? I want to be able to edit this page. --Jaider msg 1 novembre 2025 à 18:05 (CET)
- Sure, done! I added a couple of other permissions along the way. --[[kgh]] (discussion) 1 novembre 2025 à 18:07 (CET)
- Thanks! Jaideraf (discussion) 1 novembre 2025 à 18:09 (CET)
Magic word {{#set}}[edit]
Why is {{#set}} a supported magic word (seen in this template) on this wiki, even though Special:Version doesn't display it, but it doesn't work in any official Wikimedia project? Unlike Mermaid (for {{#mermaid}}) and Page Forms ({{#default_form}}), I haven't seen any clues indicating which extension adds it, and I'd like to know. Thanks and greetings!. No se (discussion) 25 janvier 2026 à 00:10 (CET)
- {{#set}} is one of the main parser functions of SMW. See the help page for more details. Jaideraf (discussion) 25 janvier 2026 à 15:50 (CET)