Difference between revisions of "Instances"

From Wikibase Personal data
Jump to navigation Jump to search
 
(87 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Options for configuration =
 
* site name
 
* site URL
 
* wikibase installation
 
* sending email
 
* [https://www.mediawiki.org/wiki/Manual:Securing_database_passwords locate password file elsewhere? not in plain text? ]
 
* copyright
 
* [https://github.com/wmde/wikibase-docker Wikibase-docker example]
 
* [https://github.com/wmde/wikibase-docker/blob/master/README-compose.md Readme there for multiple services]
 
* [https://www.mediawiki.org/wiki/Manual:LocalSettings.php LocalSettings]
 
* [https://doc.wikimedia.org/mediawiki-core/master/php/LocalSettingsGenerator_8php.html settings generator]
 
* [https://addshore.com/2018/06/customizing-wikibase-config-in-the-docker-compose-example/ Someone customizing the wikibase docker compose]
 
  
= Main services =
+
See [[Wikibase options]] for a summary for each option, [[Louis]] for the dev notes.
* Wikibase
 
* WDQS
 
* WDQS backend
 
* QuickStatements
 
  
= Features =
 
== Gadgets ==
 
[https://www.mediawiki.org/wiki/Extension:Gadgets "The Gadgets extension provides a way for users to pick JavaScript or CSS based "gadgets" that other wiki users provide."]
 
  
* See [https://www.mediawiki.org/wiki/Extension:Gadgets Extension:Gadgets instructions on how to install ]
 
  
 +
= wiki.personaldata.io =
 +
== current configuration ==
 +
* name: [http://wiki.personaldata.io wiki.personaldata.io]
 +
* query: [http://query.personaldata.io query.personaldata.io]
 +
* public by default
 +
* all standard services: WDQS, QuickStatements (untested)
  
* See [https://www.wikidata.org/wiki/Special:Gadgets Special:Gadgets on wikidata]
 
* See [https://www.wikidata.org/wiki/MediaWiki:Gadgets-definition MediaWiki:Gagdgets-definition on wikidata]
 
* Check [https://www.wikidata.org/wiki/Special:Version Special:Version on wikidata] to see if gadgets are installed.
 
 
== EasyQuery ==
 
* [https://www.wikidata.org/wiki/MediaWiki:Gadget-EasyQuery.js EasyQuery.js] gadget, needs to be updated for the query endpoint, at the very least. Can be done manually to start.
 
 
== Customizing the menu ==
 
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Customizing the menu"]
 
* edit the sidebar, go to "/wiki/MediaWiki:Sidebar"
 
** [[MediaWiki:Sidebar]]
 
 
** Special:NewItem|New item
 
** Special:NewProperty|New property
 
 
== Logo ==
 
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Adding a Custom Logo"]
 
 
== User rights and namespaces ==
 
* [https://www.mediawiki.org/wiki/Manual:User_rights user rights]
 
* [https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection page specific user rights]
 
* custom namespaces
 
  
== Constraints handler ==
+
=== bugs ===
* wikibase constraints work (meaning when you go to an item page, the constraints show up; will need to test myself)
+
* (FIX) for some reason the item labels don't show anymore
 
+
* (FIX) updater crashes
== Links on Wikibase installs ==
+
* (FIX) sending emails
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Hide link boxes on the right hand side of item pages"]
+
* (FIX) [[Wikibase_options#Widgets]] is now installed, but creates a problem.  
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Supporting links to external vocabularies"]
+
* (FIX) When trying to log in, seems related to http(s): "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form."
 
+
* (FIX?) search problem: "An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later."
== Scripting extensions ==
+
* (WAIT) internal alias/namespace problems in the query service (there is reference to wikibase.svc, wait for [[Wikibase_options#Query_prefixes]] to be fixed maybe first)
* [https://www.mediawiki.org/wiki/Extension:Scribunto Scribunto]
+
* (WAIT) autocomplete in the query service uses wrong prefix
* [https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]
+
* (WAIT) why do some pages miss the logo (like this one), while some others have it?
* test for ParserFunctions: [http://wiki.personaldata.io/wiki/Template_tests this] should NOT display code.
+
* (WAIT) QuickStatements has bugs
* test for Lua [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Getting_started here].
+
** on accessing (user) batches
* Include the following [https://www.mediawiki.org/wiki/Extension:Scribunto#Integrating_extensions three extensions] for easier editing.
+
** on running in background
 
 
= Instances =
 
== Paul personal ==
 
Give me copy of Docker repo for:
 
* PrivatePaul
 
* private.dehaye.org
 
* nothing public (view, edit, account creation)
 
* with Wikibase, [https://wqs.needs.services WBQS], etc
 
and host it.
 
 
 
== base.personaldata.io ==
 
as above, with in addition:
 
* name: PersonalData.IO
 
* host:    base.personaldata.io
 
* default settings for what is public/not
 
* gadget extension
 
 
 
 
 
== wiki.personaldata.io ==
 
* name: [http://wiki.personaldata.io wiki.personaldata.io]
 
* public by default
 
* with all the services worked on so far (WBQS, QuickStatements, etc)
 
* updater works
 
* gadget extension
 
* [https://github.com/wmde/wikibase-docker/blob/abc8be6052b6a43e5ad70aff2821250ca174956f/docker-compose.yml#L32 also change internal alias]
 
  
== Paul personal v2 ==
+
== done ==
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html#_adding_quality_constraints_for_property_values "Adding quality constraints for property values"]
+
# (Friday 15th:) [[Wikibase_options#Scripting_extensions ]]
 +
# (Friday 15th:) [[Wikibase_options#Gadgets]]
 +
# Automatically done: set up API, for instance [http://wiki.personaldata.io/wiki/Special:ApiSandbox#action=wbeditentity&new=item&data=%7B%7D here], so it works. Seems to need:
 +
## a site name is preconfigured
 +
## have a way to get a token (presumably needed)
 +
## to test:
 +
### log in
 +
### go [http://wiki.personaldata.io/wiki/Special:ApiSandbox#action=wbeditentity&new=item&data=%7B%7D here].
 +
### click on the left on `action:wbeditentity`
 +
### set `site` = ??? (there needs to be a choice!)
 +
### set name = "This is a API test item"
 +
### click "auto-fill token" (presumably needed)
 +
### click "Make Request"
 +
# Set up quick statements
 +
# set up git/github/gitlab account so Paul can edit/update/see
 +
# Set [https://www.mediawiki.org/wiki/Manual:$wgAllowUserJs wgAllowUserJs] to true
 +
# Make mobile friendly with the [https://www.mediawiki.org/wiki/Extension:MobileFrontend MobileFrontend extension]
 +
# Add logo
  
= See also =
+
== todo ==
 +
# [[Wikibase_options#Query_prefixes]]
 +
# [[Wikibase_options#Supporting_links_to_external_vocabularies]]  (on wiki.personaldata.io, the property is P49)
 +
# [https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads| Configure file uploads] securely!
  
* [https://wikibase-registry.wmflabs.org/wiki/Main_Page Wikibase registry main page]
+
== later ==
* [https://medium.com/@thisismattmiller/wikibase-for-research-infrastructure-part-1-d3f640dfad34 Wikibase for research infrastructure]
+
# [[Wikibase_options#Constraints_handler ]]
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html#_via_wikibaseimport_code_importentities_php_code notes on wikibase]
 

Latest revision as of 14:10, 2 May 2019

See Wikibase options for a summary for each option, Louis for the dev notes.


wiki.personaldata.io

current configuration


bugs

  • (FIX) for some reason the item labels don't show anymore
  • (FIX) updater crashes
  • (FIX) sending emails
  • (FIX) Wikibase_options#Widgets is now installed, but creates a problem.
  • (FIX) When trying to log in, seems related to http(s): "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form."
  • (FIX?) search problem: "An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later."
  • (WAIT) internal alias/namespace problems in the query service (there is reference to wikibase.svc, wait for Wikibase_options#Query_prefixes to be fixed maybe first)
  • (WAIT) autocomplete in the query service uses wrong prefix
  • (WAIT) why do some pages miss the logo (like this one), while some others have it?
  • (WAIT) QuickStatements has bugs
    • on accessing (user) batches
    • on running in background

done

  1. (Friday 15th:) Wikibase_options#Scripting_extensions
  2. (Friday 15th:) Wikibase_options#Gadgets
  3. Automatically done: set up API, for instance here, so it works. Seems to need:
    1. a site name is preconfigured
    2. have a way to get a token (presumably needed)
    3. to test:
      1. log in
      2. go here.
      3. click on the left on `action:wbeditentity`
      4. set `site` = ??? (there needs to be a choice!)
      5. set name = "This is a API test item"
      6. click "auto-fill token" (presumably needed)
      7. click "Make Request"
  4. Set up quick statements
  5. set up git/github/gitlab account so Paul can edit/update/see
  6. Set wgAllowUserJs to true
  7. Make mobile friendly with the MobileFrontend extension
  8. Add logo

todo

  1. Wikibase_options#Query_prefixes
  2. Wikibase_options#Supporting_links_to_external_vocabularies (on wiki.personaldata.io, the property is P49)
  3. Configure file uploads securely!

later

  1. Wikibase_options#Constraints_handler