Manual:Interface/Wikibase-SortedProperties/nl

From mediawiki.org
This page is a translated version of the page Manual:Interface/Wikibase-SortedProperties and the translation is 100% complete.

Achtergrond

Websites die gestructureerde gegevens van Wikibase gebruiken tonen deze statements standaard in de volgorde waarop ze zijn toegevoegd: de eerst toegevoegde staat bovenaan en de laatste staat onderaan.

Implementatie

Wiki's die deze standaard sortering willen aanpassen kunnen dat doen door een pagina aan te maken met een lijst met eigenschappen die gesorteerd zijn in de gewenste volgorde. By default, this page is in the MediaWiki namespace with the title Wikibase-SortedProperties. For best results, you can follow the formatting conventions present in Wikidata's Wikibase-SortedProperties page.

Any properties not listed in MediaWiki:Wikibase-SortedProperties will appear in the order in which they were added, from oldest to newest.

Wikibase-SortedProperties pages on individual wikis should be protected and editable only by site admins.

See also the low-level client documentation on the setting.

Categorieƫn en labels

Zoals op de bovengenoemde Wikidata's pagina's (met link) te zien is, kunnen er bruikbare categorieƫn en labels aan de lijst worden toegevoegd, die door Wikibase genegeerd worden maar die voor lezers nuttig kunnen zijn, zodat ze niet een bepaalde P-value hoeven op te zoeken.

De labels op deze pagina worden echter niet automatisch bijgewerkt als de actuale P-value wordt hernoemd. Dit kan op sommige wiki's tot verwarring leiden; het resultaat kan zijn dat eigenschappen ook getoond worden op deze pagina die sjablonen gebruikt die dynamisch het huidige label tonen.

Voorbeeld:

* P7
* [[Property:P8]]
* {{NiceTemplate|P8}}

All rows not starting with * are ignored, so the page can contain elements such as == Titles ==, useful for the human reader, but ignored by the processor.[1]

LocalSettings.php

Creating a page on your wiki named MediaWiki:Wikibase-SortedProperties and populating it with the content of your choice is sufficient to gain the benefit of the SortedProperties functionality.

If you would like to override that default page name and choose another name, you may do so by referencing it in your client LocalSettings.php as in the example below, replacing EXAMPLE_PAGE_NAME with the wiki page title of your choice:

$wgWBClientSettings['propertyOrderUrl'] = $wgServer . $wgScriptPath . '/index.php?title=EXAMPLE_PAGE_NAME&action=raw&sp_ver=1';

Theoretically this setting can point to any web page on the internet (though it would be pointless unless its content matches the regex[1]) and is not limited to wikis.

The query parameter sp_ver has no functional impact and is a convention for informational purposes such as analytics tracking.

Cache legen

Een wijziging op de pagina Wikibase-SortedProperties gedaan hoeft niet direct zichtbaar te zijn. Om de cache te verwijderen, laad de pagina met achteraan toegevoegd: ?action=purge. Anders zullen pagina's de nieuwe sorteervolgorde herkennen als hun cache ongeldig wordt of na een bewerking.

Process for community requests to change the statement order

Use the discussion page for Wikibase-SortedProperties to request that properties be added to the ordered list or that the existing order be modified. Visit the Wikibase-SortedProperties talk page on Wikidata for some examples of best practices and common requests.

For sites that use Wikidata properties via Wikibase Federation

For consistency across Wikibase projects that only use properties from Wikidata via federation, keep in mind the existing order of properties on Wikidata and make only minimal changes as needed.

See also

Notes

  1. ā†‘ 1.0 1.1 For details on how the text is processed, please refer to the regular expression definition in the source code.