« Sorting examples » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
==Properties==
==Properties==
[[Property:Dictionary entry (Page)]]
[[Property:Dictionary entry (Page)]]
[[Property:Dictionary entry (Text)]]


==Set==
==Set==
{{#vardefine: entries |francophile; envergure; Église; dentifrice; église; dépositaire; }}
{{#vardefine: entries |Fr. francophile; Fr. zut!; Fr. envergure; Fr. Église; Fr. dentifrice; Fr. église; Fr. démontrable; }}


{{#set:  
{{#set:  
Ligne 13 : Ligne 11 :


==Query==
==Query==
;Page
<pre>
{{#ask: [[-Dictionary entry (Page)::+]]
{{#ask: [[-Dictionary entry (Page)::+]]
|link=none
}}
}}
</pre>


;Text (sort=Dictionary entry (Text))
{{#ask: [[-Dictionary entry (Page)::+]]
{{#ask: [[Dictionary entry (Text)::+]]
|link=none
|mainlabel=-
|?Dictionary entry (Text)=
|sort=Dictionary entry (Text)
|order=ascending
}}
}}
issue: Fr. Église and Fr. église are listed right at the end (after z), not as you would expect to see in a dictionary. Changing to uca-default ([https://www.mediawiki.org/wiki/Manual:$wgCategoryCollation]) works for MW categories but not for SMW's query results.

Dernière version du 17 octobre 2016 à 13:56

Properties

Property:Dictionary entry (Page)

Set

Query

{{#ask: [[-Dictionary entry (Page)::+]]
|link=none
}}

Fr. dentifrice, Fr. démontrable, Fr. envergure, Fr. francophile, Fr. zut!, Fr. Église, Fr. église

issue: Fr. Église and Fr. église are listed right at the end (after z), not as you would expect to see in a dictionary. Changing to uca-default ([1]) works for MW categories but not for SMW's query results.

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