Infobox

From Wikidocumentaries
Revision as of 16:55, 25 December 2018 by Susanna Ånäs (talk | contribs) (Datatype default display)
Jump to navigation Jump to search

Wikidata-section.png

An infobox created from Wikidata, where the links link to pages inside Wikidocumentaries. The values can be edited in Wikidata. Editing can be made available in Wikidocumentaries as well.

Toolbar

  • View/edit in Wikidata
  • Expand window to reveal all data

Formatting

  • Generally, all values will be displayed, except when there is one preferred value. In that case only the preferred value is shown.
  • Multiple values can either be displayed as a list or conflated to a list with a conjunction between the items, for example: A, B, and C (in English) and A, B ja C (in Finnish)
  • Qualifiers should be displayed when available. There may be complex rules for displaying them…
  • References should be displayed, maybe as a collapsible part of the statement.

Datatype default display

  • Commons media – Commons media

Link to files stored at Wikimedia Commons. When a value is entered, the "File" namespace on Commons will be searched for matching files. For those that are not hidden and used elsewhere, display link to Commons, text can be the filename. List of properties with this data type

  • Geographic shape – Link to Commons
  • Globe coordinate – Displayed in WGS format for copying to other systems. Link to the map display?
  • Monolingual text – language flag included, for example: Nimi Niminen (fi).
  • Quantity – Lot of work to display the units. Take advantage of infobox work.
  • String – as is
  • Tabular data – Link to Commons
  • Time – Dates are displayed in localized formats 1990/12/24 (in English) 24.12.1990 in Finnish, if possible.
  • URL – External links are made as pretty as possible. Perhaps use the title as the link text to avoid long links
  • External identifier – External link with the link body, if possible. Not a priority.
  • Item – Local link
  • Property – Link to Wikidata
  • Mathematical expression – as is
  • Lexeme – need to investigate more
  • Form – need to investigate more

Exceptions

Specific formatting

These properties are used together, one being the qualifier of the other

  • P528 catalog code
    • P972 catalog as qualifier
  • P217 inventory number
    • P195 collection as qualifier

Location data

It will be possible to derive location data from one type of data. Require only one: coordinates street address

Wikimedia-specific links. Hide or show?

  • P1472 Commons Creator page // Could also be shown
  • P94 coat of arms image // To the header section
  • P242 locator map image // Old technology
  • P18 image // Can be used to select the featured image
  • P948 page banner // Not useful, but can be shown if wanted
  • P443 pronunciation audio → Display in a specific location
  • P910 topic's main category → No idea
  • P1464 category for people born here // To special section
  • P1465 category for people who died here // To special section
  • P1791 category of people buried here // To special section
  • P1792 category of associated people // To special section
  • P1740 category for films shot at this location // To special section
  • P2959 permanent duplicated item // Wikidata internal, can be shown if wanted
  • P109 signature // To the header
  • P3896 geoshape // To the map if feasible
  • P625 coordinate location // To the map
  • P30 continent (for small-scale items) // Useless repetition

Links

  • Link structure: domain/page/QID/title (optional)/language-code (optional)
  • The link ALWAYS points to/creates a Wikidocumentaries page regardless of whether the title, description or article exist in the user's language
  • EXISTING article link is shown normally
  • MISSING article link can be styled differently, but the link remains the same.
  • EXTERNAL Links with external identifiers will be constructed to point to external resources, and are styled differently.

Special use for Wikidata properties

This is also written in https://docs.google.com/document/d/188wq0wPusnbyw9EiCQRDprn5JPDHgnwU_4_hn7jbJrg/edit#

Place in the header module

  • P94 coat of arms image
  • P109 signature
  • P443 pronunciation audio

Works by…

  • Use P1472 Commons Creator page to identify images by the creator
  • P373 Commons category (Often there are interesting subcategories, for example Works by…

plus

  • items related by subclass of creator (P170)

People in…

These items are made from the Wikidata IDs of articles in these Wikipedia categories. The data is not recorded in Wikidata or Wikidocumentaries, but it may be validated in a crowdsourcing app and saved after.

  • P1464 category for people born here
  • P1465 category for people who died here
  • P1791 category of people buried here
  • P1792 category of associated people

plus items having the topic as...

  • P20 place of death
  • P19 place of birth
  • P119 place of burial
  • P937 work location
  • P551 residence

Works depicting…

There are different objects depicting the item. Should they be presented together or separately?

  1. items in Wikidata or Wikidocumentaries describing a work. The item data may include an image, which can be used as a preview image. The item preview links to the item’s own page.
  2. Images without an item about the image, generally most photographs. An image preview links to the image viewer.
  3. Source literature items, which probably are the same as items describing a work (1).

Wikipedia categories to interpret

  • P1740 category for films shot at this location

Wikidata properties to read

  • P840 narrative location
  • P915 filming location
  • P180 depicts
  • P921 main subject

Display formats

  • Textual, MLA style
  • Preview with an image

Subcategories may help filter or facet

Related articles

  • P2633 geography of topic
  • P2184 history of topic

Map

  • P3896 geoshape can be used to draw on the map

Ideas to develop

  • Import datasets or view items from a database and import automatically or through verification.


Navigation

About Technology Design Content modules Tool pages Projects
Status

Wikidocumentaries blog

Wikidocumentaries demo

Phabricator project

Facebook group

GitHub repository

Translation in TranslateWiki

Wikidocumentaries Slack

Setting up dev environment

Resources

Translations

Languages

Using Wikibase

Federation with Wikidata

APIs

Linking

Media metadata

Properties to content

User registration

Licensing

Page types

Landing page

Search page

Topic page

User page

Organisation page

Project page

Tool page

Tasks

Components

Main toolbar and footer

Search

Faceting

Topic page header

Content module

Dropdown

Modal

Icons

Active modules

Article

Family tree

Gallery

Historical map

Images

Image viewer

Infobox

Map

Module ideas

Audio/Video

Bibliography

Correspondence

Discussion

Graph

Name

Newspaper articles

Testimonials

Timeline

Visualizations

Wikidocumentary

3D

Visual editor

Query tool

QuickStatements

Open Refine

Creating topics

Uploading images

Geolocating tool

Metadata editor

Rectifying maps

Transcription

Annotation tool

Central Park Archives

Convent Quarter

Wikisource