We want to try to come up with an ordered list of all properties to then sort all statements on items by. In order to make it easier to come up with this list we need a gadget. The gadget takes a list of properties and then sorts any item based on this list. The list should be stored in a wiki page that is editable by the editors.
Description
Description
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | thiemowmde | T99243 [Story] consistent order of statements in an item | ||
Invalid | None | T143383 Let user override statement sort | ||
Resolved | Lydia_Pintscher | T129244 [Story] create gadget to try out global sort order | ||
· · · |
Event Timeline
Comment Actions
I remembered seeing something like that, in fact here it is: https://www.wikidata.org/wiki/User:Soulkeeper/statementSort.js
Comment Actions
Ah great. Then we just need to mangle that a bit to take the order from an editable wiki page.
Comment Actions
With https://www.wikidata.org/wiki/Special:ChangeContentModel we can make the page JSON so it's easier to parse.
Comment Actions
https://www.wikidata.org/wiki/MediaWiki:Gadget-statementSort.js
Is now available for everyone to enable. We should make an announcement. I did some modifications and removed the "toBottom" part.
Comment Actions
Announcement done : https://www.wikidata.org/wiki/Wikidata:Project_chat#New_gadget_to_sort_the_statements_on_items
Thanks!