Différences entre les versions de « Sorting examples »
De Semantic MediaWiki - Sandbox
Ligne 5 : | Ligne 5 : | ||
==Set== | ==Set== | ||
− | {{#vardefine: entries |Fr. francophile; Fr. envergure; Fr. Église; Fr. dentifrice; Fr. église; Fr. | + | {{#vardefine: entries |Fr. francophile; Fr. zut!; Fr. envergure; Fr. Église; Fr. dentifrice; Fr. église; Fr. démontrable; }} |
{{#set: | {{#set: | ||
Ligne 23 : | Ligne 23 : | ||
}} | }} | ||
+ | issue: Fr. Église and Fr. église are listed right at the end (after z), not as you would expect to see in a dictionary. | ||
+ | |||
+ | ===Compare=== | ||
<pre> | <pre> | ||
{{#ask: [[Dictionary entry (Text)::+]] | {{#ask: [[Dictionary entry (Text)::+]] | ||
Ligne 37 : | Ligne 40 : | ||
|order=ascending | |order=ascending | ||
}} | }} | ||
+ | |||
+ | (unexpectedly, sorting does not work here - results are on a per-page basis) |
Version du 16 octobre 2016 à 11:09
Properties
Property:Dictionary entry (Page)
Property:Dictionary entry (Text)
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.
Compare
{{#ask: [[Dictionary entry (Text)::+]] |mainlabel=- |?Dictionary entry (Text)= |sort=Dictionary entry (Text) |order=ascending }}
Fr. francophile, Fr. zut!, Fr. envergure, Fr. Église, Fr. dentifrice, Fr. église, Fr. démontrable
(unexpectedly, sorting does not work here - results are on a per-page basis)