Last modified: 2013-12-04 13:55:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46678, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44678 - allow to change the order of statements
allow to change the order of statements
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High normal with 10 votes (vote)
: ---
Assigned To: Wikidata bugs
backlog
:
: 44880 52393 (view as bug list)
Depends on: 52392
Blocks: 49120
  Show dependency treegraph
 
Reported: 2013-02-05 13:41 UTC by Lydia Pintscher
Modified: 2013-12-04 13:55 UTC (History)
17 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lydia Pintscher 2013-02-05 13:41:55 UTC
It should be possible to change the order of statements inside an item.
Comment 1 Lydia Pintscher 2013-02-12 12:22:55 UTC
*** Bug 44880 has been marked as a duplicate of this bug. ***
Comment 2 Yair Rand 2013-02-13 00:30:50 UTC
This might be two separate issues: ordering of statements of one property type, and ordering the various properties.

About the latter: Is this actually necessary? Will every item need a custom listing order? Perhaps it would be better to add a "priority" property to property types, and list statements by that?
Comment 3 jeblad 2013-02-25 15:51:04 UTC
This could also be split in manual ordering, ordering on numeric id, and alphabetic sorting.
Comment 4 Papuass 2013-02-28 08:39:57 UTC
Another suggestion for ordering: sort them by usage - most uses properties first (http://www.wikidata.org/wiki/Wikidata:Database_reports/Popular_properties).

I see this kinda working for person class of objects.

That said, I would like to see a dropdown with various sorting options available.

As of sorting property values - do wee need a way to indicate that person X was mostly known as a poet and did just a bit of jounalist or politician work? What would be the way to define that?
Comment 5 HenkvD 2013-03-02 13:10:39 UTC
I would like the statements to be in a table format and the full table sortable on each column by the user. I suggested this at http://www.wikidata.org/wiki/Wikidata:Project_chat#Order_of_.22statements.22_and_duplicates
Comment 6 Lydia Pintscher 2013-08-01 15:45:54 UTC
*** Bug 52393 has been marked as a duplicate of this bug. ***
Comment 7 Sven Manguard 2013-09-06 01:47:39 UTC
@Papuass - The reason that *manually* ordering the statements is appealing is that it allows the people that are entering and curating the data to stick the properties in an order that allows them to curate easier. For example, I could have a script put the properties for every video game article into a specific order (ideally agreed to by the video game task force), so that a person curating the data could just look down the list of properties an item has and check them against a list of properties that item *should* have, without having to go digging back and forth through the page. Ultimately, if manually ordering statements isn't possible, at least having them appear in a fixed order (likely numerical) would allow for the same ease of finding, albeit without the ability to put properties into a logical order. Having it based on popularity is problematic because popularity can change, and this is only useful if the order is stable enough that it can be used in the manner I described.
Comment 8 soulkeeper.wikipedia 2013-09-06 08:19:24 UTC
Fixed order, alphabetically, by property id, or hard coded, should be easiest to implement. It has only one drawback that I can see: Newly added statements will change position at save, or at page reload. This is a minor issue imo. I suggest starting out by implementing a fixed order. The possibility to "override" this, either item by item, or depending on the type of item, can be added later.
Comment 9 Zoloinwiki 2013-10-09 08:35:59 UTC
I think the user should be able to change the order, and that it should change the key associated with the statement in the Lua table. Alphabetical order is not enough. See the architects in this infobox: https://fr.wikipedia.org/w/index.php?title=Arsenal_Stadium&oldid=97323308 The architect of the renovation appears before the architect of the original building, and that is hard to reliably fix through a client-side heuristic. Wikidata should directly provide a sensible order.
Comment 10 Snipre 2013-10-11 11:37:33 UTC
Order has to be defined by user in a specific user page. It is impossible to get an unique order for each class of items because there are several ways to treat data between the different wikipedias.

The best way in my opinion is to create a tool/code which matches some class of items defined by the property "instance of" with a specific order given by the user.
Comment 11 soulkeeper.wikipedia 2013-10-11 13:31:28 UTC
I've made a javascript tool for my own use. Maybe it can be used for inspiration:
//www.wikidata.org/wiki/User:Soulkeeper/statementSort.js
Comment 12 tobias.gritschacher 2013-12-03 16:10:39 UTC
This functionality is available now: when moving the last or first statement of a statement group even further down or up, the whole group will change its position. This behavior should be re-thought when redesigning the UI because it is not very intuitive.
Comment 13 Lydia Pintscher 2013-12-03 17:03:35 UTC
I have opened bug 57932 for that now. Closing this one.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links