Difference between revisions of "How to administrate this wiki"

From Gender and Tech Resources

(Activities)
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* Clic on Accept & Confirm
 
* Clic on Accept & Confirm
  
= Extract data to excel or libreoffice =
+
= Extract data to libreoffice or excel =
Go to : [[Special:Ask]]
+
== Activities ==
# Formulate a request, for exemple to ask all the properties of the form "Activities" in the category "Activites" :
+
# Go to : [[Special:Ask]]
 +
# Formulate a request, for exemple to ask all the properties of the form "Activities" in the category "Activites"
 +
# To do so, fill the field "'''Query'''" and "'''Additional data to display'''" with the content above (autocompletion for the properties)
 +
# Choose the outpout format > '''CSV Export'''
 +
# Click on '''Find Results'''
 +
 
 +
* More infos on "Special:Ask" https://www.semantic-mediawiki.org/wiki/Help:Semantic_search
 +
* Below, it's also possible to replace  <nowiki>[[Category:Activities]]</nowiki> by a property :  <nowiki>[[Title of the activity::+]]</nowiki> with "+" meaning : select all pages which contains a property named "Title of the activity"
 +
* '''A better syntax that manage to get all pages even if there are errors inside the forms''' :
 +
{| class="wikitable"
 +
|-
 +
! Query !! Additional data to display
 +
|-
 +
| <nowiki>{{#ask:
 +
[[Title of the activity::+]]
 +
}}</nowiki> ||
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
{{#ask: [[Category:Activities]]
+
?Title of the activity
| ?Title of the activity
+
?Category
| ?Category
+
?Start when
| ?Start when ?
+
?End when
| ?End when ?
+
?Number of hours
| ?Number of hours if only one day ?
+
?Where is located the activity
| ?Where is located the activity ?
+
?Geo-localization of the activity
| ?Geo-localization of the activity ?
+
?Who organize it
| ?Who organize it
+
?Organisation(s) website
| ?organisation(s) website
+
?For whom is it organized
| ?For whom is it organized
+
?How many people trained
| ?How many people trained
+
?Motivations for organizing training
| ?Motivations for organizing training
+
?Topics addressed
| ?Topics addressed
+
?Links about the activity
| ?Links about the activity
+
?Upload content
| ?Upload content
+
}}
+
 
</syntaxhighlight>
 
</syntaxhighlight>
# choose "Format as :" CSV
+
|}
# click on "find result" to get the file
+
Also to avoid the limit of 100 items while exporting in csv, possible to put a number in the limit field (500) :
 +
[[File:HowToASKExportmorethan100results.png]]
 +
 
 +
 
 +
* Initial syntax :
 +
{| class="wikitable"
 +
|-
 +
! Query !! Additional data to display
 +
|-
 +
| <nowiki>[[Category:Activities]]</nowiki> ||
 +
<syntaxhighlight lang=bash>
 +
Title of the activity
 +
Category
 +
Start when
 +
End when
 +
Number of hours
 +
Where is located the activity
 +
Geo-localization of the activity
 +
Who organize it
 +
Organisation(s) website
 +
For whom is it organized
 +
How many people trained
 +
Motivations for organizing training
 +
Topics addressed
 +
Links about the activity
 +
Upload content
 +
</syntaxhighlight>
 +
|}
 +
[[File:semantic_search-Ask.png|800px]]
 +
 
 +
== Tutorials ==
 +
# Go to : [[Special:Ask]]
 +
{| class="wikitable"
 +
|-
 +
! Query !! Additional data to display
 +
|-
 +
| <nowiki>[[Category:Tutorials]]</nowiki> ||
 +
<syntaxhighlight lang=bash>
 +
Title of the tutorial
 +
Kind of learning session
 +
Tutorial category
 +
Duration (hours)
 +
Learning objectives
 +
Prerequisites
 +
Methodology
 +
Number of facilitators involved
 +
Technical needs
 +
Theoretical and on line resources
 +
</syntaxhighlight>
 +
|}
 +
== Storytelling ==
 +
# Go to : [[Special:Ask]]
 +
{| class="wikitable"
 +
|-
 +
! Query !! Additional data to display
 +
|-
 +
| <nowiki>[[Category:Storytelling]]</nowiki> ||
 +
<syntaxhighlight lang=bash>
 +
Context
 +
Motivation
 +
Outcomes
 +
</syntaxhighlight>
 +
|}

Latest revision as of 21:28, 16 July 2018

Account creation / confirmation

Go to : Special:ConfirmAccounts

  • see : prospective authors (open requests [1] | held requests [0] | recently rejected requests [0] | expired requests)
  • clic on open requests
  • Clic on Review
  • Clic on Accept & Confirm

Extract data to libreoffice or excel

Activities

  1. Go to : Special:Ask
  2. Formulate a request, for exemple to ask all the properties of the form "Activities" in the category "Activites"
  3. To do so, fill the field "Query" and "Additional data to display" with the content above (autocompletion for the properties)
  4. Choose the outpout format > CSV Export
  5. Click on Find Results
  • More infos on "Special:Ask" https://www.semantic-mediawiki.org/wiki/Help:Semantic_search
  • Below, it's also possible to replace [[Category:Activities]] by a property : [[Title of the activity::+]] with "+" meaning : select all pages which contains a property named "Title of the activity"
  • A better syntax that manage to get all pages even if there are errors inside the forms :
Query Additional data to display
{{#ask: [[Title of the activity::+]] }}
?Title of the activity
?Category
?Start when
?End when
?Number of hours
?Where is located the activity
?Geo-localization of the activity
?Who organize it
?Organisation(s) website
?For whom is it organized
?How many people trained
?Motivations for organizing training
?Topics addressed
?Links about the activity
?Upload content

Also to avoid the limit of 100 items while exporting in csv, possible to put a number in the limit field (500) : HowToASKExportmorethan100results.png


  • Initial syntax :
Query Additional data to display
[[Category:Activities]]
Title of the activity
Category
Start when
End when
Number of hours
Where is located the activity
Geo-localization of the activity
Who organize it
Organisation(s) website
For whom is it organized
How many people trained
Motivations for organizing training
Topics addressed
Links about the activity
Upload content

Semantic search-Ask.png

Tutorials

  1. Go to : Special:Ask
Query Additional data to display
[[Category:Tutorials]]
Title of the tutorial
Kind of learning session
Tutorial category
Duration (hours)
Learning objectives
Prerequisites
Methodology
Number of facilitators involved
Technical needs
Theoretical and on line resources

Storytelling

  1. Go to : Special:Ask
Query Additional data to display
[[Category:Storytelling]]
Context
Motivation
Outcomes