Différences entre les versions de « Issue/541 »

De Semantic MediaWiki - Sandbox
(add)
(+ cat)
 
(11 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 +
== avoid result column duplication on "Special:Ask" ==
 +
Reference: [[CiteRef::GitHubSMW541]]
 +
 +
; SMW 2.4+
 +
<pre>
 
{{#ask:  
 
{{#ask:  
 
  [[:+]]
 
  [[:+]]
  [[Page author::+]]
+
  [[Page creator::+]]
  |?Has Url
+
|?Page creator=author
 +
  |?Has Url=url
 
  |format=table  
 
  |format=table  
 
  |sort=Has Url
 
  |sort=Has Url
 
  |limit=2
 
  |limit=2
 +
|mainlabel=page
 
}}
 
}}
 +
</pre>
 +
{{#ask:
 +
[[:+]]
 +
[[Page creator::+]]
 +
|?Page creator=author
 +
|?Has Url=url
 +
|format=table
 +
|sort=Has Url
 +
|limit=2
 +
|mainlabel=page
 +
}}
 +
 +
;"hack" for SMW 1.6 to 2.3
 +
<pre>
 +
{{#ask:
 +
[[:+]]
 +
[[Page creator::+]]
 +
|?=page
 +
|?Page creator=author
 +
|?Has Url=url
 +
|format=table
 +
|sort=Has Url
 +
|limit=2
 +
|mainlabel=-
 +
}}
 +
</pre>
 +
{{#ask:
 +
[[:+]]
 +
[[Page creator::+]]
 +
|?=page
 +
|?Page creator=author
 +
|?Has Url=url
 +
|format=table
 +
|sort=Has Url
 +
|limit=2
 +
|mainlabel=-
 +
}}
 +
 +
;see also
 +
→ [[Issue/249|249]]
 +
 +
{{#scite:GitHubSMW541
 +
|type=internet
 +
|citation text=[https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/541 github.com - Semantic MediaWiki]
 +
}}
 +
 +
[[Category:Issue|Issue/0541]]

Dernière version du 13 juillet 2019 à 20:15

avoid result column duplication on "Special:Ask"

Reference: 1

SMW 2.4+
{{#ask: 
 [[:+]]
 [[Page creator::+]]
 |?Page creator=author
 |?Has Url=url
 |format=table 
 |sort=Has Url
 |limit=2
 |mainlabel=page
}}
pageauthorCette propriété est une propriété spéciale dans ce wiki.url
Issue/3533WolfgangFahl[git:git.server.com/srv/git git:git.server.com/srv/git]
Lorem ipsumMwjameshttp://example.org/some/
... autres résultats
"hack" for SMW 1.6 to 2.3
{{#ask: 
 [[:+]]
 [[Page creator::+]]
 |?=page
 |?Page creator=author
 |?Has Url=url
 |format=table 
 |sort=Has Url
 |limit=2
 |mainlabel=-
}}
pageauthorCette propriété est une propriété spéciale dans ce wiki.url
Issue/3533WolfgangFahl[git:git.server.com/srv/git git:git.server.com/srv/git]
Lorem ipsumMwjameshttp://example.org/some/
... autres résultats
see also

249

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.