Hi,
I'm writing here because I have some difficulties with a custom Wikibase instance. I hope it's the right place where to ask.
In particular, when I visit an item page, I want all the properties ordered in a specific way. Googling I've found that Wikidata has a MediaWiki:Wikibase-SortedProperties page. I made my own for my wiki and also I added a line in LocalSettings.php:
$wgWBClientSettings['propertyOrderUrl'] = ' https://mydomain.com/index.php?title=MediaWiki:Wikibase-SortedProperties&... ';
Unfortunately nothing changed. I haven't found any documentation about this so I made some attemps emulating the wikidata production settings.
Thanks,
Alessio
Sorry for the late reply.
The setting you set is a Wikibase Client setting, it has no affect on your repo installation. If you want to change the order on your repo, you just need to create a MediaWiki:Wikibase-SortedProperties page on that wiki.
Due to caching it might take up to 1 hour to actually affect the sorting order of your items and you might need to purge the Item pages in question (append action=purge to the Item URL).
Cheers, Marius
On 08/03/2017 07:22 AM, Alessio Melandri wrote:
Hi,
I'm writing here because I have some difficulties with a custom Wikibase instance. I hope it's the right place where to ask.
In particular, when I visit an item page, I want all the properties ordered in a specific way. Googling I've found that Wikidata has a MediaWiki:Wikibase-SortedProperties page. I made my own for my wiki and also I added a line in LocalSettings.php:
$wgWBClientSettings['propertyOrderUrl'] = 'https://mydomain.com/index.php?title=MediaWiki:Wikibase-SortedProperties&...';
Unfortunately nothing changed. I haven't found any documentation about this so I made some attemps emulating the wikidata production settings.
Thanks,
Alessio
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi!
Am 03.08.2017 um 07:22 schrieb Alessio Melandri:
In particular, when I visit an item page, I want all the properties ordered in a specific way. Googling I've found that Wikidata has a MediaWiki:Wikibase-SortedProperties page. I made my own for my wiki
That should be sufficient.
and also I added a line in LocalSettings.php:
$wgWBClientSettings['propertyOrderUrl'] = 'https://mydomain.com/index.php?title=MediaWiki:Wikibase-SortedProperties&...';
You only need this if you want to use a property oder list maintained on *another* wiki.
Unfortunately nothing changed. I haven't found any documentation about this so I made some attemps emulating the wikidata production settings.
That's strange - perhaps you are looking at a cached version of the page. Item pages will not be re-rendered with the new order unless they are edited, or explicitly purged (with action=purge as a url paramer).
If statements are still in the wrong order after editing hte page, something must be wrong. Perhaps send a link to your wiki, so we can have a look directly.
wikidata-tech@lists.wikimedia.org