« Issue/541 » : différence entre les versions
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 | [[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 }}
page | authorCette propriété est une propriété spéciale dans ce wiki. | url |
---|---|---|
Issue/3533 | WolfgangFahl | [git:git.server.com/srv/git git:git.server.com/srv/git] |
Lorem ipsum | Mwjames | http://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=- }}
page | authorCette propriété est une propriété spéciale dans ce wiki. | url |
---|---|---|
Issue/3533 | WolfgangFahl | [git:git.server.com/srv/git git:git.server.com/srv/git] |
Lorem ipsum | Mwjames | http://example.org/some/ |
... autres résultats |
- see also
→ 249