« Discussion utilisateur:Kghbln » : différence entre les versions

De Semantic MediaWiki - Sandbox

(→‎Disable jsbc-breadcrumbs : nouvelle section)
(merci)
Balise : Éditeur de wikicode 2017
 
(54 versions intermédiaires par 5 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
== SFS xml ==
<big>'''[[/referencedata/|→ page for storing reference data]]'''</big>
__TOC__
: Archives of this page: [[/2019/]] - [[/2018/]] - [[/2017/]] - [[/2015/]]
----
----


The old XML contained `#set_internal` calls, I cleaned-up the demo examples on the sandbox to use subobjects instead. -- [[User:Mwjames|Mwjames]] 15:37, 7. Dez. 2015‎
== Constraint ==


: Ah, ok, thanks! I'll create and upload an new xml file. Cheers --[[User:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[User talk:Kghbln|talk]]) 19:30, 8 December 2015 (CET)
Could you please create a constraint called ''[[smw/schema:Constraint:MandatoryProperties]]'' with the content:
 
<pre>{
== Leading Pound ==
    "type": "CLASS_CONSTRAINT_SCHEMA",
 
    "constraints": {
Thanks for that. Template to force the issue will work great in this case. Though I found it a curious behavior when it seems to be handled in the default table formats just fine. Cheers! - [[Utilisateur:Lbillett|Lbillett]] ([[Discussion utilisateur:Lbillett|discussion]]) 21 mars 2017 à 19:00 (CET)
        "mandatory_properties": [ "Mandatory 1", "Mandatory 2" ]
 
    },
: With tables you have extra "layer" in between whereas without it is directly passed to MediaWiki which does what it sees, i.e. transforms the # to the ordered list. Cheers --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 21 mars 2017 à 19:07 (CET)
    "tags": [
 
        "class constraint",
==What about External Data?==
        "mandatory properties"
Hi Karsten, could you perhaps install Yaron's External Data extension? I don't think there's any serious security risk involved in this and there's stuff I'd like to demonstrate/try out. Best, [[Utilisateur:D. G.|D. G.]] ([[Discussion utilisateur:D. G.|discussion]]) 1 septembre 2017 à 16:43 (CEST)
    ]
: Hi D. G., indeed I could. :) The reason why I did not install it yet was that extra configuration is needed depending on what one would like to do. Just tell me which domain you would like to access so I can whitelist that one during the installation process. Cheers --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 1 septembre 2017 à 17:05 (CEST)
}</pre>? 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.<br />[[Utilisateur:Alex Mashin|Alex Mashin]] ([[Discussion utilisateur:Alex Mashin|discussion]]) 20 novembre 2021 à 10:35 (CET)
:: Thanks, that would be great - I was thinking of the following domains:
: Done. Showing an error though. Cheers --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:36 (CET)
::* logainm.ie (including subdomains)
:: Ah not saved. Omg. --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:40 (CET)
::* archives.library.wales
::: Done now after disabling Lingo and Semantic Glossary. --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 20 novembre 2021 à 10:40 (CET)
::* subdomains of ucc.ie
* Thank you.<br />[[Utilisateur:Alex Mashin|Alex Mashin]] ([[Discussion utilisateur:Alex Mashin|discussion]]) 20 novembre 2021 à 10:59 (CET)
::* subdomains of www.asnc.cam.ac.uk
:: [[Utilisateur:D. G.|D. G.]] ([[Discussion utilisateur:D. G.|discussion]]) 2 septembre 2017 à 17:19 (CEST)
::: Done now. Don't you think that something like "subdomains of ucc.ie" is a bit to unspecific? Cheers --[[Utilisateur:Kghbln|&#91;&#91;kgh&#93;&#93;]] ([[Discussion utilisateur:Kghbln|discussion]]) 3 septembre 2017 à 11:21 (CEST)
:::: Thanks! And yes, I think so. I'll get back to you with more specifc details. [[Utilisateur:D. G.|D. G.]] ([[Discussion utilisateur:D. G.|discussion]]) 4 septembre 2017 à 22:32 (CEST)
 
== Disable jsbc-breadcrumbs ==
 
Can we disable `jsbc-breadcrumbs` because the JS loads late causing FOUC or unrelated content movements and somtimes it is not loaded at all?

Dernière version du 20 novembre 2021 à 11:59

→ page for storing reference data

Archives of this page: 2019 - 2018 - 2017 - 2015


Constraint

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)
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.