Main Page: Difference between revisions

From Wikibase Automated Values - Demo Wiki
Jump to navigation Jump to search
(→‎Additional behaviour: qualifiers and language specific rules)
(+ medium, + seo)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Welcome to wikibase automated values demo wiki! This demonstrates a Wikibase extension that allows defining rules to automatically set labels or aliases based on Statement values.
<big>This is the demo wiki for the [https://github.com/ProfessionalWiki/AutomatedValues#automated-values Automated Values] extension to [https://wikibase.consulting/what-is-wikibase/ Wikibase].</big>


Go to [https://github.com/ProfessionalWiki/AutomatedValues github.com/ProfessionalWiki/AutomatedValues] for configuration and installation instructions
'''Demo content'''


Go to [https://github.com/ProfessionalWiki/AutomatedValues/issues github.com/ProfessionalWiki/AutomatedValues/issues] to report any issues.
* [[MediaWiki:AutomatedValues]] - The Rules defined for this wiki
* [[Item:Q2|Simple demo item (Q2, John Doe)]] - Item impacted by the Rules
* [[Item:Q4|Demo item with qualifiers (Q4, Jean-Baptiste Fresez)]] - Item impacted by the Rules


== Steps to see the demo ==
'''Automated Values Documentation'''
 
* [https://github.com/ProfessionalWiki/AutomatedValues#usage Usage documentation]
* [https://github.com/ProfessionalWiki/AutomatedValues#installation Installation instructions]
* [https://github.com/ProfessionalWiki/AutomatedValues#release-notes Version history]
 
'''Further links'''
 
* [https://github.com/ProfessionalWiki/AutomatedValues/issues AutomatedValues issue tracker] - Report issues and get support
* [https://github.com/ProfessionalWiki/AutomatedValues#automated-values Automated Values] - GitHub repository of the extension
* [https://wikibase.consulting/automating-values-in-wikibase Automating values in Wikibase] - Blog post introducing the Automated Values extension
* [https://www.youtube.com/watch?v=BO58wulCFVU Using automated values in Wikibase] - Video on automated values in Wikibase
 
'''Wikibase services'''
 
Automated Values and this demo wiki were created and are maintained by [https://Professional.Wiki/ Professional.Wiki].
 
We provide [https://professional.wiki/en/wikibase-software-development Wikibase development], [https://www.pro.wiki/wikibase-hosting Wikibase hosting], and other [https://wikibase.consulting/ Wikibase services].
Also check out our [https://www.pro.wiki/ Managed MediaWiki hosting] and [https://professional.wiki/ MediaWiki services].
 
* [https://twitter.com/ProWikis Follow us on Twitter]
* [https://www.facebook.com/ProfessionalWiki Follow us on Facebook]
* [https://www.youtube.com/@ProfessionalWiki Follow us on YouTube]
* [https://www.linkedin.com/company/professional-wiki Follow us on LinkedIn]
* [https://prowiki.medium.com/ Follow us on Medium]
 
== Interactive demo ==
 
You can create your own items, to see the Rules getting applied.
 
=== Basic example ===


# Please note the first rule in the config file at [[MediaWiki:AutomatedValues]]
# Please note the first rule in the config file at [[MediaWiki:AutomatedValues]]
Line 18: Line 50:
# Notice that each P3 is added as an alias.
# Notice that each P3 is added as an alias.


== Additional behaviour ==
=== Using qualifiers ===
 
It is possible to use qualifier within statements to build your label/alias. See the second rule on the configuration page (that uses P3 as a qualifier to P2 to build the label).


=== Using qualifiers ===
[[Item:Q4|See demo item on Q4]]
It is possible to use qualifier within statements to build your label/alias. See the second rule on the config page (that uses P3 as a qualifier to P2 to build the label).


#Please note the second rule config file at [[MediaWiki:AutomatedValues]]
#Please note the second rule config file at [[MediaWiki:AutomatedValues]]
Line 34: Line 67:
# Notice that each P3 is added as an alias.
# Notice that each P3 is added as an alias.


=== Language specific behaviour ===
=== Multiple 'when' selectors ===
You build specific labels/aliases for specific languages. Please note the second rule config file at [[MediaWiki:AutomatedValues]]. Look at the Dutch (nl) rule for building a label.
It is possible to use multiple rule selectors, e.g. to select all Instance of (P1) of person (Q1) AND their 'Profession' (P5) is 'Author' (Q5) to make fine grained rules.
 
See example on [[Item:Q9|Q9]]
 
#Please note the third rule config file at [[MediaWiki:AutomatedValues]]
# Create an account if necessary, confirm email verification
# Create [[Special:NewItem|new item]]
# Add statement P1 (instance of) to "Person, with qualifiers" (Q5)
# Add ''statements'' for P2 (First name), P3 (last name).
# Reload page (you might need to clear cache by hard-reloading see config above).
# Notice that the label in english has changed
# Add statement P5 (Profession) and set it to Q5 (Author).
# Reload page (you might need to clear cache by hard-reloading see config above).
# Notice that each label has an added suffix (WRITER)
#Notice that the suffix is hard-coded in the rule config.
 
=== Language specific behavior ===
 
You build specific labels/aliases for specific languages. Please note the second rule config file at [[MediaWiki:AutomatedValues]]. Look at the Dutch (nl) rule for building a label. [[Item:Q4|See demo item on Q4]]. You can also set the language to * to have the rule apply to all default languages of the wikibase instance.
 
__NOTOC__
{{#seo:
|title=Automated Values extension's demo wiki / Main Page
|title_mode=replace
|keywords=wikibase, wikibase extension, extension, wikibase consultancy, professional wiki, prowiki
|description=The Automated Values extension to Wikibase allows defining rules to automatically set labels or aliases based on statement values. This wiki serves to demonstrate and test it. Main Page.
|type=website
|image=https://pro-wiki.s3.eu-central-1.amazonaws.com/1648212336/Logo.png
|image_width=135
|image_height=135
|image_alt=Automated Values - Demo Wiki Logo
|locale=en-US
|site_name=Automated Values - Demo Wiki
|twitter_site=ProWikis
}}

Latest revision as of 19:38, 13 February 2023

This is the demo wiki for the Automated Values extension to Wikibase.

Demo content

Automated Values Documentation

Further links

Wikibase services

Automated Values and this demo wiki were created and are maintained by Professional.Wiki.

We provide Wikibase development, Wikibase hosting, and other Wikibase services. Also check out our Managed MediaWiki hosting and MediaWiki services.

Interactive demo

You can create your own items, to see the Rules getting applied.

Basic example

  1. Please note the first rule in the config file at MediaWiki:AutomatedValues
  2. Create an account if necessary, confirm email verification
  3. Create new item
  4. Add statement P1 (instance of) to "Person" (Q1)
  5. Add statements for P2 (First name), P3 (last name).
  6. Reload page (you might need to clear cache by hard-reloading see config above).
  7. Notice that the label in english has changed
  8. Add multiple statement P3 (alternative name)
  9. Reload page (you might need to clear cache by hard-reloading see config above).
  10. Notice that each P3 is added as an alias.

Using qualifiers

It is possible to use qualifier within statements to build your label/alias. See the second rule on the configuration page (that uses P3 as a qualifier to P2 to build the label).

See demo item on Q4

  1. Please note the second rule config file at MediaWiki:AutomatedValues
  2. Create an account if necessary, confirm email verification
  3. Create new item
  4. Add statement P1 (instance of) to "Person, with qualifiers" (Q5)
  5. Add statement for P2 (First name), add qualifier P3 (last name).
  6. Reload page (you might need to clear cache by hard-reloading see config above).
  7. Notice that the label in english has changed
  8. Add multiple statement P3 (alternative name)
  9. Reload page (you might need to clear cache by hard-reloading see config above).
  10. Notice that each P3 is added as an alias.

Multiple 'when' selectors

It is possible to use multiple rule selectors, e.g. to select all Instance of (P1) of person (Q1) AND their 'Profession' (P5) is 'Author' (Q5) to make fine grained rules.

See example on Q9

  1. Please note the third rule config file at MediaWiki:AutomatedValues
  2. Create an account if necessary, confirm email verification
  3. Create new item
  4. Add statement P1 (instance of) to "Person, with qualifiers" (Q5)
  5. Add statements for P2 (First name), P3 (last name).
  6. Reload page (you might need to clear cache by hard-reloading see config above).
  7. Notice that the label in english has changed
  8. Add statement P5 (Profession) and set it to Q5 (Author).
  9. Reload page (you might need to clear cache by hard-reloading see config above).
  10. Notice that each label has an added suffix (WRITER)
  11. Notice that the suffix is hard-coded in the rule config.

Language specific behavior

You build specific labels/aliases for specific languages. Please note the second rule config file at MediaWiki:AutomatedValues. Look at the Dutch (nl) rule for building a label. See demo item on Q4. You can also set the language to * to have the rule apply to all default languages of the wikibase instance.