Skip to content

Construct URLs for the "View Wikimedia site" view #2

@susannaanas

Description

@susannaanas

User interface

Controls

  1. Allow the user to select one of the projects (more can be added)
  • Wikidocumentaries
  • Reasonator
  • Wikipedia
  • Wikimedia Commons
  1. Add a language pulldown in the page with all Wikimedia languages selectable. Use as the value of LANGCODE. Find the correct values to use.

Displays

  • Construct the clickable URL and display it in the settings box.
  • Display the URL in the component on select and other events in the UI.

Rules for creating the URLs from the candidates' Wikidata QIDs / property values

Wikidocumentaries:
https://wikidocumentaries-demo.wmcloud.org/QID[?language=LANGCODE]

Reasonator
https://reasonator.toolforge.org/?q=QID[&lang=LANGCODE]

Wikipedia
SITELINK (filter by LANGCODE)

Wikimedia Commons
SITELINK (filter by COMMOMS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions