« Issue/541 » : différence entre les versions

De Semantic MediaWiki - Sandbox
(chg)
(chg)
Ligne 31 : Ligne 31 :
  [[:+]]
  [[:+]]
  [[Page creator::+]]
  [[Page creator::+]]
|?=page
  |?Page creator=author
  |?Page creator=author
|?=page
  |?Has Url=url
  |?Has Url=url
  |format=table  
  |format=table  
Ligne 43 : Ligne 43 :
  [[:+]]
  [[:+]]
  [[Page creator::+]]
  [[Page creator::+]]
|?=page
  |?Page creator=author
  |?Page creator=author
|?=page
  |?Has Url=url
  |?Has Url=url
  |format=table  
  |format=table  

Version du 1 mars 2016 à 15:11

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

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