Page MenuHomePhabricator

[Story] create gadget to try out global sort order
Closed, ResolvedPublic

Description

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.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 8 2016, 5:40 PM

I remembered seeing something like that, in fact here it is: https://www.wikidata.org/wiki/User:Soulkeeper/statementSort.js

Ah great. Then we just need to mangle that a bit to take the order from an editable wiki page.

With https://www.wikidata.org/wiki/Special:ChangeContentModel we can make the page JSON so it's easier to parse.

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.

Ladsgroup moved this task from Blocked on others to Done on the User-Ladsgroup board.
Lydia_Pintscher closed this task as Resolved.Aug 16 2016, 1:10 PM
Lydia_Pintscher claimed this task.
Lydia_Pintscher moved this task from Proposed to Done on the Wikidata-Sprint-2016-08-16 board.