Difference between revisions of "Linking"
Jump to navigation
Jump to search
(→Wikipedia article URL) |
(→URIs) |
||
Line 1: | Line 1: | ||
== URIs == | == URIs == | ||
===General URI=== | ===General URI=== | ||
− | domain/[source]QID/[language]/[article title] | + | domain/[source]QID/[language]/[article title]?language=[language] |
'''where''' | '''where''' | ||
Line 8: | Line 8: | ||
* language = optional, overrides user preferences and browser default | * language = optional, overrides user preferences and browser default | ||
* article title = optional, Wikipedia article name in the language of the language option. Should not be used to resolve the destination | * article title = optional, Wikipedia article name in the language of the language option. Should not be used to resolve the destination | ||
+ | * ?language=[language] = temporary UI language parameter | ||
====Examples==== | ====Examples==== |
Revision as of 17:40, 9 January 2019
URIs
General URI
domain/[source]QID/[language]/[article title]?language=[language]
where
- domain = wikidocumentaries.io
- source = empty for wikidata items, [letter] for Wikidocumentaries items
- language = optional, overrides user preferences and browser default
- article title = optional, Wikipedia article name in the language of the language option. Should not be used to resolve the destination
- ?language=[language] = temporary UI language parameter
Examples
- wikidocumentaries.io/Q5893434/fi/Vapaamuurarin_hauta (full version for Vue page for indexing, Wikidata item)
- wikidocumentaries.io/SQ123456/en/New_small_topic (full version for Vue page for indexing, Wikidocumentaries item)
- wikidocumentaries.io/Q5893434 (minimum version for Vue page, Wikidata item)
- wikidocumentaries.io/SQ123456 (minimum version for Vue page, local Wikidocumentaries item)
Wikipedia article URL
domain/wikipedia/language/article_title
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |