Difference between revisions of "Resources"
Jump to navigation
Jump to search
Erno Mäkinen (talk | contribs) m (→Updating wikidocumentaries-demo.wmflabs.org code from GitHub) |
Susanna Ånäs (talk | contribs) |
||
Line 99: | Line 99: | ||
==API documentations for media services == | ==API documentations for media services == | ||
− | === Finna === | + | === Finna.fi === |
* [https://api.finna.fi/swagger-ui/?url=%2Fapi%2Fv1%3Fswagger Finna API documentation] | * [https://api.finna.fi/swagger-ui/?url=%2Fapi%2Fv1%3Fswagger Finna API documentation] | ||
* [https://www.kiwi.fi/display/Finna/Finnan+avoin+rajapinta Old but still somewhat useful Finna API documentation] | * [https://www.kiwi.fi/display/Finna/Finnan+avoin+rajapinta Old but still somewhat useful Finna API documentation] | ||
Line 106: | Line 106: | ||
*[https://www.flickr.com/services/api/ Flick API Docs] - Includes useful API Explorer | *[https://www.flickr.com/services/api/ Flick API Docs] - Includes useful API Explorer | ||
+ | |||
+ | === Internet Archive === | ||
+ | |||
+ | === Nimiarkisto.fi === | ||
+ | |||
+ | === Ajapaik === | ||
+ | [https://ajapaik.ee Ajapaik.ee] | ||
+ | |||
+ | === Linked Data Finland === | ||
+ | * BiographySampo | ||
+ | |||
+ | === FIN-CLARIN === | ||
==API documentations for map services == | ==API documentations for map services == | ||
Line 118: | Line 130: | ||
{{design-nav}} | {{design-nav}} | ||
+ | |||
+ | ==Requirements== | ||
+ | ===Wikipedia article=== | ||
+ | * As a user when I am on a page that is linked to Wikidata I get a snippet or the whole related Wikipedia article. | ||
+ | ** The page has to have the Wikidata id | ||
+ | ** It has to know the language | ||
+ | ** The Wikipedia links should be replaced by local links | ||
+ | ** Related info = all properties, all incoming links | ||
+ | |||
+ | ===Images=== | ||
+ | * For the federated API query to be able to search | ||
+ | ** Name of the topic, time, location as coordinates or address, existing authority IDs (Eg YSO), alternative names, language variants... | ||
+ | |||
+ | ===Digitized maps=== | ||
+ | * Date | ||
+ | * Historical administrative entities | ||
+ | * Source |
Revision as of 16:23, 16 December 2018
Contents
Communication & community
- Wikidocumentaries blog The blog features articles about activities created around Wikidocumentaries. Articles can be published in Finnish and English.
- Wikidocumentaries Facebook group. The group is primarily for informing about future events and promoting related events. Events can be multilingual, currently in Finland primarily.
- Wikidocumentaries Slack channel The network of project partners preparing events and funding applications collaboratively.
Wikidocumentaries for developers
Updating wikidocumentaries-demo.wmflabs.org code from GitHub
- Login with SSH to the hupu server
- Run:
sudo -s
- Run:
sudo -s -u wikidocumentaries-web
- Run:
script /dev/null
- To see detached screens (there should be two, one for wikidocumentaries-ui and one for the wikidocumentaries-topic-search-api), run:
screen -ls
- Restore a screen (replace the last parameter with the actual screen id), e.g. run:
screen -r 24566.pts-4.hupu
- Stop the running node ui/api app, press:
ctrl+c
- Pull changes from the GitHub (and if needed resolve conflicts), run:
git pull origin master
- Start the node ui/api app again, run:
npm run dev
- Exit from the screen, press:
ctrl+a+d
- Restore the other screen and update the app following again from the step 6 to the step 11
- Exit the script and then from the wikidocumentaries-web shell and root shell, press:
ctrl+d
and againctrl+d
and againctrl+d
- You have succesfully updated the wikidocumentaries-ui/wikidocumentaries-topic-search-api and may now logout from the hupu server
Wikimedia developer resources
Wikimedia Cloud Services
- Get a Wikimedia account (the same account for all Wikipedias, Wikimedia Commons, Wikidata etc.)
- Get the Wikimedia developer account. The same key and password let you access The Wikimedia Cloud Services at https://wikitech.wikimedia.org and the git repositories located at https://gerrit.wikimedia.org/.
- Create an account in Wikimedia Phabricator
https://wikitech.wikimedia.org/wiki/Main_Page
https://wikitech.wikimedia.org/wiki/Help:Access
MediaWiki
- https://www.mediawiki.org/wiki/API:Tutorial
- https://en.wikipedia.org/w/api.php Wikipedia API help
Wikibase
The Wikibase setup including MediaWiki, Wikibase and the SPARQL endpoint are included in a Docker compose at https://github.com/wmde/wikibase-docker/blob/master/README-compose.md
Wikidata
- Wikidata Query Service - SPARQL
- Wikidata API help - MediaWiki API
Wikimedia Commons
- Wikimedia Commons API help - MediaWiki API
Front end
Vue.js
Current (17.10.2018) Wikidocumentaries UI is built with Vue.js
Surveyor geotagging tool
- Surveyor at New York Public Library
- Surveyor GitHub repository
- Leaflet.GeoTagPhoto plugin
- brick-by-brick JSON API
React
Current (17.10.2018) Surveyor UI is built with React
Vue.js and React together
- https://x-team.com/blog/react-vue-component-integration/
- vuera - Vue in React, React in Vue
Leaflet
OpenLayers
API documentations for media services
Finna.fi
Flickr
- Flick API Docs - Includes useful API Explorer
Internet Archive
Nimiarkisto.fi
Ajapaik
Linked Data Finland
- BiographySampo
FIN-CLARIN
API documentations for map services
Map Warper
Misc.
- Stack Overflow - Developer Community Q&A & knowledge sharing
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 |
Requirements
Wikipedia article
- As a user when I am on a page that is linked to Wikidata I get a snippet or the whole related Wikipedia article.
- The page has to have the Wikidata id
- It has to know the language
- The Wikipedia links should be replaced by local links
- Related info = all properties, all incoming links
Images
- For the federated API query to be able to search
- Name of the topic, time, location as coordinates or address, existing authority IDs (Eg YSO), alternative names, language variants...
Digitized maps
- Date
- Historical administrative entities
- Source