« 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 |
(→Issue) Balise : Éditeur de wikicode 2017 |
||
(9 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
== | 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
Table query
Plainlist with template query
- Using Template:Show and store item
- with import-annotation=no
{{#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) :