Difference between revisions of "Resources"
Jump to navigation
Jump to search
(→Wikimedia developer resources) |
(→Wikimedia Cloud Services) |
||
Line 18: | Line 18: | ||
# Create an account in Wikimedia Phabricator | # Create an account in Wikimedia Phabricator | ||
https://wikitech.wikimedia.org/wiki/Main_Page | https://wikitech.wikimedia.org/wiki/Main_Page | ||
+ | |||
+ | https://wikitech.wikimedia.org/wiki/Help:Access | ||
=== Updating wikidocumentaries-demo.wmflabs.org code from GitHub === | === Updating wikidocumentaries-demo.wmflabs.org code from GitHub === |
Revision as of 08:49, 24 January 2019
Contents
Communication & community
General communication
- 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
Cheat sheet for important actions
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
Updating wikidocumentaries-demo.wmflabs.org code from GitHub
- Login with SSH to the hupu server:
ssh hupu.eqiad.wmflabs
- 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
Adding users to the Wikidocumentaries project on Hupu
- Sign in on page https://horizon.wikimedia.org
- In the dropdown next to the left top logo choose Wikidocumentaries
- In the left dropdown choose Project -> Access -> Project Members
- Press button + Add members on the right
- Fill in either User name or Shell name (one is enough) and choose Project Admin to grant all privileges
Wikimedia developer resources
MediaWiki
- 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
- MediaWiki homepage https://www.mediawiki.org/wiki/MediaWiki
- MediaWiki Vagrant portable MediaWiki development environment https://www.mediawiki.org/wiki/MediaWiki-Vagrant
LAMP stack
Front end
Vue.js
Current (17.10.2018) Wikidocumentaries UI is built with Vue.js
Component-specific
Parsing Wiki content
Cheerio
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
Map component
OpenLayers
API documentations
Wikimedia
MediaWiki API
- https://www.mediawiki.org/wiki/API:Tutorial
- https://en.wikipedia.org/w/api.php Wikipedia API help
Wikidata
- Wikidata Query Service - SPARQL
- Wikidata API help - MediaWiki API
Wikimedia Commons
- Wikimedia Commons API help - MediaWiki API
Media services
Finna.fi
Flickr
- Flick API Docs - Includes useful API Explorer
Internet Archive
Nimiarkisto.fi
Ajapaik
Linked Data Finland
- BiographySampo
- SotaSampo
FIN-CLARIN
Topothek
Map services
Map Warper
Design files
Misc.
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
- 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 |