Module talk:WikidataIB: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:WikidataIB/Archive 8) (bot
Line 12:
{{oldtfdfull|date= 2020 September 15 |result=keep |disc=Module:Wikidata Infobox}}
{{archives|search=yes}}
 
== sorted=true: by what? ==
 
I understand that {{para|sorted|true}} sorts the returned values, but I cannot see by what ordering. Eg, for {{Q|Q2079986}}, {{Property|P703}}:
::sorted=false: {{#invoke:WikidataIB |getValue |P703 |qid=Q2079986|fwd=ALL|sorted=false }} dflt
::sorted= true: {{#invoke:WikidataIB |getValue |P703 |qid=Q2079986|fwd=ALL|sorted=true }}
:So, true-results have unexpected order IMO. (Incidentally, the itempage has/shows alphabetical order).
[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 13:26, 26 September 2022 (UTC)
 
:Does it have to do with wikilinked/unlinked? If so, by some rationale or because of code like "<nowiki>[[...</nowiki>"? [[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 13:28, 26 September 2022 (UTC)
::@[[User:DePiep|DePiep]] From the doc page/comments: {{tq|It's only a very dumb alphabetical sort and sorts linked values as "<nowiki>[[</nowiki> ..."}}. So a literal alphabetical sort that doesn't break up links to sort by label. That seems to match your example as well. -- [[User:Ferret|ferret]] ([[User_talk:Ferret|talk]]) 13:30, 26 September 2022 (UTC)
:::Thanks; makes me feel good having the question right ;-)
:::Consider answered. [[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 13:38, 26 September 2022 (UTC)
 
== How to add references ==