« Issue/541 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(+ cat) |
||
(5 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 3 : | Ligne 3 : | ||
; SMW 2.4+ | ; SMW 2.4+ | ||
<pre> | |||
{{#ask: | {{#ask: | ||
[[:+]] | [[:+]] | ||
[[Page author::+]] | [[Page creator::+]] | ||
|?Page creator=author | |||
|?Has Url=url | |||
|format=table | |||
|sort=Has Url | |||
|limit=2 | |||
|mainlabel=page | |||
}} | |||
</pre> | |||
{{#ask: | |||
[[:+]] | |||
[[Page creator::+]] | |||
|?Page creator=author | |||
|?Has Url=url | |?Has Url=url | ||
|format=table | |format=table | ||
Ligne 14 : | Ligne 27 : | ||
;"hack" for SMW 1.6 to 2.3 | ;"hack" for SMW 1.6 to 2.3 | ||
<pre> | |||
{{#ask: | {{#ask: | ||
[[:+]] | [[:+]] | ||
[[Page | [[Page creator::+]] | ||
|?=page | |?=page | ||
|?Page creator=author | |||
|?Has Url=url | |?Has Url=url | ||
|format=table | |format=table | ||
Ligne 24 : | Ligne 39 : | ||
|mainlabel=- | |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 | {{#scite:GitHubSMW541 | ||
Ligne 29 : | Ligne 59 : | ||
|citation text=[https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/541 github.com - Semantic MediaWiki] | |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