Changes

Jump to navigation Jump to search
2,355 bytes removed ,  5 years ago
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 ==
  −
* wikibase constraints work (meaning when you go to an item page, the constraints show up; will need to test myself)
  −
  −
== Links on Wikibase installs ==
  −
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Hide link boxes on the right hand side of item pages"]
  −
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Supporting links to external vocabularies"]
  −
  −
== Scripting extensions ==
  −
  −
* [https://www.mediawiki.org/wiki/Extension:Scribunto Scribunto]
  −
* [https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]
  −
* test for ParserFunctions: [http://wiki.personaldata.io/wiki/Template_tests this] should NOT display code.
  −
* test for Lua [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Getting_started here].
  −
* Include the following [https://www.mediawiki.org/wiki/Extension:Scribunto#Integrating_extensions three extensions] for easier editing.
  −
* [https://www.mediawiki.org/wiki/Extension:Scribunto#Integrating_extensions Wikidata client and Lua]
  −
  −
== Embed videos ==
  −
* [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo extension]
  −
  −
== query prefixes ==
  −
* defined default prefixes `pdiot`, `pdio`, etc, and fix the autocomplete accordingly.
  −
  −
== widgets ==
  −
* [https://www.mediawiki.org/wiki/Extension:Widgets Widgets]
  −
  −
= Problems =
  −
== Login problem ==
  −
* "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking"
  −
  −
= 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 ==
+
=== bugs ===
as above, with in addition:
+
* (FIX) for some reason the item labels don't show anymore
* name: PersonalData.IO
+
* (FIX) updater crashes
* host:    base.personaldata.io
+
* (FIX) sending emails
* default settings for what is public/not
+
* (FIX) [[Wikibase_options#Widgets]] is now installed, but creates a problem.
* gadget extension
+
* (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)
== wiki.personaldata.io ==
+
* (WAIT) autocomplete in the query service uses wrong prefix
* name: [http://wiki.personaldata.io wiki.personaldata.io]
+
* (WAIT) why do some pages miss the logo (like this one), while some others have it?
* public by default
+
* (WAIT) QuickStatements has bugs
* with all the services worked on so far (WBQS, QuickStatements, etc)
+
** on accessing (user) batches
* updater works
+
** on running in background
* gadget extension
  −
* [https://github.com/wmde/wikibase-docker/blob/abc8be6052b6a43e5ad70aff2821250ca174956f/docker-compose.yml#L32 also change internal alias]
  −
* gadgets
  −
* constraints
     −
== 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]
 
Anonymous user

Navigation menu