MediaWiki talk:Gadget-statementSort.js

From Wikidata
Jump to navigation Jump to search

Untitled October 2016[edit]

{{Edit request}} We worked on an updated version of this gadget, containing all properties in an order that (mostly) makes sense, no matter at what item the user looks at. Please update to this new source code. --Thiemo Mättig (WMDE) 10:50, 25 October 2016 (UTC)[reply]

@Thiemo Mättig (WMDE): ✓ Done --Ricordisamoa 09:04, 27 October 2016 (UTC)[reply]
Argh no. I disagree, the new order makes less sense for what I see: for example on Battle of Klyastitsy (Q840194), end time (P582) is now before start time (P580) and part of (P361) (wtf), which used to be right after instance of (P31) (which was great), is now between these two (again, wtf). Edit: I read the code and I think P361 should be in the "Classification" section, and that there should be a full "Dates" section with all date properties, before the big alphabetical blob. -Ash Crow (talk) 15:05, 31 October 2016 (UTC)[reply]
Hello! No problem, we can still discuss about the order, don't hesitate to make suggestions or directly edit the code. When we agree on the order, we will make a new edit request (I think two weeks later will be enough). Lea Lacroix (WMDE) (talk) 15:20, 31 October 2016 (UTC)[reply]
Ok, I put P361 in "Classification", but for the rest, I'd prefer to make suggestions... Where is the best place for this ? I don't think copying the 2000+ properties list here would be very readable... -Ash Crow (talk) 15:28, 31 October 2016 (UTC)[reply]
Just try here, without copying all the properties but maybe describing what you would like to reorder and how? Maybe with different sections so that people can add comments on a specific suggestion. Thanks, Lea Lacroix (WMDE) (talk) 15:33, 31 October 2016 (UTC)[reply]
Hey folks. Sorry. Based on Ash Crow's note I looked over the list and indeed there are quite a few issues. Sorry. I should have checked this before it goes out. I will work on a new suggestion. You should have a new list by Friday. --Lydia Pintscher (WMDE) (talk) 15:57, 31 October 2016 (UTC)[reply]
OK, Here's some comments (With sections for readability) As a general first comment, I'm not fond of having groups thought for items (People, etc.) and would prefer that they are by types of properties (image properties, date properties, place properties, etc.). -Ash Crow (talk) 16:08, 31 October 2016 (UTC)[reply]
I just wanted to sit down and work on a new proposal. But @Pasleim: you are a hero and already made a lot of great changes. Thank you! So I'll leave this to you. It is starting to look really good. --Lydia Pintscher (WMDE) (talk) 11:18, 6 November 2016 (UTC)[reply]

Classification[edit]

  • Currently there:
    • creator (P170) → not sure why it is in this section. Not sure where it should go, though.
    • image (P18), logo image (P154), video (P10) ; They are not really classification properties.. Perhaps create a new section for them, along with maps, coat of arms, and other properties that link to image, video or sound files.
    • inception (P571) → move to a "Dates" section.

People[edit]

✓ Done --Pasleim (talk) 16:03, 4 November 2016 (UTC)[reply]

Dates[edit]

I think place of birth (P19) should be right after date of birth (P569) and place of death (P20) right after date of death (P570) --Pasleim (talk) 16:05, 4 November 2016 (UTC)[reply]

Personal details[edit]

✓ Done --Pasleim (talk) 15:53, 4 November 2016 (UTC)[reply]

Let user override statement sort[edit]

When this gadget was originally introduced, I requested sorting on user level with a custom .js file in the user’s namespace. I would still love to see this functionality being implemented, so the relevant Phabricator task is linked in this section MisterSynergy (talk) 17:27, 31 October 2016 (UTC)[reply]

Content rating[edit]

I see Australian Classification (P3156) in the alphabetical list, six others in the work of art section, and weirdly a few in IDs and codes with type "string", but it would be nice to have all instances of Wikidata property representing media content ratings (Q24716199) grouped together. – Máté (talk) 06:34, 2 November 2016 (UTC)[reply]

✓ Done --Pasleim (talk) 15:50, 4 November 2016 (UTC)[reply]

Maximum before minimum[edit]

The following properties are currently in the wrong order:

I also noted some other properties not being where I would expect them.

--Thiemo Mättig (WMDE) 16:12, 11 November 2016 (UTC)[reply]

✓ Done --Pasleim (talk) 01:12, 12 November 2016 (UTC)[reply]

Properties with many values[edit]

In Pinocchio (Q5317361) sort cast members (cast member (P161)) by language (applies to part (P518)) first, then by role (first character role (P453) then voice actor (P725)). d1g (talk) 12:29, 7 January 2017 (UTC)[reply]

Move "vessel class" in classification section[edit]

{{Edit request}} Looking at U-43 (Q571254), we can see that key information vessel class (P289) is far below multiple less significant statements. Can you please move

289, // vessel class

in the top section, // Classification, above

361, // part of

thanks -- LaddΩ chat ;) 00:02, 16 May 2017 (UTC)[reply]

done on MediaWiki:Wikibase-SortedProperties. Please note that this gadget isn't any longer active and statement sorting is done on MediaWiki:Wikibase-SortedProperties. Please request future changes on that talk page. --Pasleim (talk) 00:10, 16 May 2017 (UTC)[reply]