« Utilisateur:Dennis/Import subobjects » : différence entre les versions

De Semantic MediaWiki - Sandbox
(Page créée avec « ==Annotatated page containing subobjects== /Semantics ==Table query== ==Plainlist with template query== Using Template:Show and store item »)
Balise : Éditeur de wikicode 2017
 
Balise : Éditeur de wikicode 2017
 
(9 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
==Annotatated page containing subobjects==
https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/5598
 
==Annotated page containing subobjects==
[[/Semantics]]
[[/Semantics]]


==Table query==
==Table query==
{{#ask: [[-Has subobject::{{FULLPAGENAME}}/Semantics]]
|?Class
|?Has title
|format=table
}}


==Plainlist with template query==
==Plainlist with template query==
Using [[Template:Show and store item]]
* Using [[Template:Show and store item]]
* with import-annotation=no
 
<pre>
{{#ask: [[-Has subobject::{{FULLPAGENAME}}/Semantics]]
|?Class|?Has title
|format=plainlist
|template=Show and store item
|link=none
|named args=true
|import-annotation=no
}}
</pre>
 
{{#ask: [[-Has subobject::{{FULLPAGENAME}}/Semantics]]
|?Class|?Has title
|format=plainlist
|template=Show and store item
|link=none
|named args=true
|import-annotation=no
}}
 
==Issue==
import-annotation=no not working? This shouldn't produce results if import-annotation is set to no (default) :
 
{{#ask: [[Class::+]] [[-Has subobject::{{FULLPAGENAME}}]]
|?Class
|?Has title
}}

Dernière version du 5 février 2024 à 18:41

https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/5598

Annotated page containing subobjects

/Semantics

Table query

 ClassHas title
Dennis/Import subobjects/SemanticsCar partsexhaust
Dennis/Import subobjects/SemanticsCar partselectrical system
Dennis/Import subobjects/SemanticsCar partsbrake
Dennis/Import subobjects/SemanticsCar partsengine
Dennis/Import subobjects/SemanticsCar partscooling fans

Plainlist with template query

{{#ask: [[-Has subobject::{{FULLPAGENAME}}/Semantics]]
|?Class|?Has title
|format=plainlist
|template=Show and store item
|link=none 
|named args=true
|import-annotation=no
}}
Class: Car parts / Title exhaust
Class: Car parts / Title electrical system
Class: Car parts / Title brake
Class: Car parts / Title engine
Class: Car parts / Title cooling fans


Issue

import-annotation=no not working? This shouldn't produce results if import-annotation is set to no (default) :

 ClassHas title
Dennis/Import subobjectsCar parts (derived)electrical system
Dennis/Import subobjectsCar parts (derived)brake
Dennis/Import subobjectsCar parts (derived)exhaust
Dennis/Import subobjectsCar parts (derived)engine
Dennis/Import subobjectsCar parts (derived)cooling fans
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.