Difference between revisions of "Nomadwiki.org:Admin"

From Nomadwiki.org
Jump to: navigation, search
m (Forms and categories)
(Boring maintenance stuff: how is it possible to inherit <nowiki><noinclude></nowiki>?)
Line 13: Line 13:
  
 
== Boring maintenance stuff ==
 
== Boring maintenance stuff ==
* [[User:Traumschule]] created a mess for [[:Category:Countries|countries]] [[project:How to edit#Forms_and_categories|country categories]]. [[Special:WantedCategories|Wanted categories]] for countries should use <nowiki>{{countrycategory|{{PAGENAME}}}}</nowiki> like in [[:Category:Norway]].
+
* From time to time [[Special:WantedCategories|Wanted categories]] pop up when new types were filled into forms.
 
* [[Special:UncategorizedFiles|Uncategorized files]], [[:Category:Pages with broken file links|broken file links]] - some images have disapeared, either upload again or remove the link ([[mw:Help:Bots|bot]] work)
 
* [[Special:UncategorizedFiles|Uncategorized files]], [[:Category:Pages with broken file links|broken file links]] - some images have disapeared, either upload again or remove the link ([[mw:Help:Bots|bot]] work)
 +
* For [[Template:Template]] a description should be included to the templates using it, but how is it possible to inherit <nowiki><noinclude></nowiki>? --[[User:Traumschule|Traumschule]] ([[User talk:Traumschule|talk]]) 20:25, 30 September 2017 (CEST)
  
Done: [[Special:UncategorizedPages|Uncategorized pages]],  
+
More: [[Special:UncategorizedPages|Uncategorized pages]],  
[[Special:UncategorizedCategories|Uncategorized categories]] (3),  
+
[[Special:UncategorizedCategories|Uncategorized categories]],  
[[Special:UnusedCategories|Unused categories]] (1),  
+
[[Special:UnusedCategories|Unused categories]],  
[[Special:UncategorizedTemplates|Uncategorized templates]] --[[User:Traumschule|Traumschule]] ([[User talk:Traumschule|talk]]) 22:25, 9 September 2017 (CEST)
+
[[Special:UncategorizedTemplates|Uncategorized templates]]
<!--
 
''this should show pages that need some help (it actually also shows the members of categories that need a fix, even if the member doesn't need a fix. maybe someone can help with the correct semantic syntax)''
 
  
{{#ask: [[Category:Fix]] | ?Has reason | format=table }}
+
{{#ask: [[Category:Needs cleanup]][[reason::!""]] | ?reason | format=table }}
-->
 
  
 
=Semantics=
 
=Semantics=

Revision as of 20:25, 30 September 2017

Hey there! Nice to have you around at Nomadwiki.

For support, please add to project:community#Official requests. (urgent requests: see Nomadbase.org).

After reading the editing intro you maybe like to help with Todos?


Disclaimer: This page has some technical background. Don't read it, when you can't sleep after seeing strange wiki syntax. For a self-test, see Template:Location.

There is a nice example on SMW and maps at hackerspaces.org

If you are interested in developing new features or classes, read on at your own risk and join #nomads.

Boring maintenance stuff

More: Uncategorized pages, Uncategorized categories, Unused categories, Uncategorized templates

{{#ask:reason::!"" | ?reason | format=table }}

Semantics

This wiki uses Semantic MediaWiki extension. Why?

Structured data is stored in key::value pairs, mostly formatted with templates, for example to structure information on a location:

{{Location
|name=
|type=Nomadbase
|in=
|web=
|lng=
|lat=
}}

This information can be shown as a table or may stay hidden on the page. It is however accessible through queries. To define a value, use :: to separate keys and values: [[KEY::VALUE]].

When you edit pages you can see a box at the bottom showing defnined properties, added by the Semantic extension. While the wiki database stores articles as text just as normal, the semantic extension adds tables about relations.

Users can add semantic requests to pages, to show a map, a toble of events or timelines.

How to query for data

  1. Semantic searches
  2. Display information
  3. Select pages
  4. Berline: example to define information
  5. Show results via a template
  6. Properties and types
  • Show the list of communities,
    {{#ask: [[Category:Community]] }}
    results: {{#ask: }}
{{#ask:
[[Category:Event]] 
|?Has start date = start
|?Has end date = end
|format=table
|sort=Has start date
|order=desc
|limit=200
}}
{{
#ask:
[[Category:Hackerspace]][[hackerspace status::active]][[Has coordinates::+]]
|?Location
|?Website
|limit=500
|sort=Modification date
|order=descending
|format=map
|width=1100
|height=480
|zoom=2
|center=16° N, 7° E
|markercluster=on
}}

Forms and categories

Next to the usual categories there are special ones used for cities, countries, communites, locations and transport companies. It is recommended to use the forms to add to them. When pages in these categories are edited, the form is the best way to add information using the "Edit with form" link at the top.

The "Edit with form" link appears on pages if a category contains [[Has default form::Country]] (or any other form). As this only works with pages but not for subcategories, categories for country specific media should use {{countrycategory}} like norway.

See also "Classes and concepts" below.

Improve the forms of Nomadwiki

For most users it is easier to add information about a place into structured fields instead of editing the source code directly.

To add a new form, you also need a template with the same name. An example is the city template.

If you know which template to pick from, it may be faster to copy the previewed structure to a new page directly. You can copy it to new or existing articles and they will be recognized as a city for example. But it is easier to make mistakes that way, so this method is discouraged.

Properties

The most important site meta-properties are:

Documentation and questions

user wishes go here


admin log

There are more semantic extensions. Should we install any?

For questions, you can ask the semantic community in #mediawiki and #semantic-mediawiki @ freenode.org.

How to use a bot

A pywikibot is fairly easy to setup. You need to download the archive and create a family file for nomadwiki:

tar tf core.tar.gz
cd core
python pwb.py generate_family_file.py # will ask for name and URL
python pwb.py generate_user_files # define preferred wiki family (here 8 for nomadwiki) and wiki user

Now you can start using scripts.


Classes and concepts

No, this is not about school classes. A concept is a dynamic category to select pages, compared to classes in programming (see above).

This part is currently developing, to implement learning skills, needed materials and events. The following Classes have been implement:

Locations

Transport

Groups

  • links: Form, Template and Category.
  • Persons form learning groups, traveling collectives, tribes, ...

Category:Skills

Is needed for some recipes.

Recipes

Services


drafts and ideas

not yet implemented classes'

Event

draft

  • links: Form, Template and Category.
  • publish event:
    • {{prepares|title=|recipe=}}
    • click on the link to create the event page with a form:
      • {{event|title=|recipe=|location=|start_date=|end_date=|[d]description=}}
  • announce:
    • {{need|}}
    • {{has issue|TITLE}}
    • {{can help|issue|event=}}

Item

idea

  • links: Form, Template and Category.
  • types: food, gear, song, ...
    • {{ingredient|type=plant|amount=|}}
      (used by recipes)
    • {{tool|=|...}}
      (needed for recipes, eg. instruments for songs)
    • {{device|...}}
      (needs tools and ingredients, produces item(s) per amount of time)
  • add item:
{{item|name=
|type=(topic)
|wiki=(editable page)
|w=(wikipedia name)
|URL=(external source)
}}
  • on success (dumpstering) add this to your page:
    • {{stores|}}
    • {{produces|}}
    • {{shares|}}
      (locally)
    • {{lends|}}
      (mobile goods, expects return)
    • {{offers|item=|amount=|recipient=|reason=(event|infrastructure)}}
    • {{sends|fetches}}

Topic

idea

  • links: Form, Template and Category.
  • category of skills, items, subjects, events
  • optional multi-lingual content:
    • {{translates|lang=|source=|text=}}
    • {{wantstranslation|lang=}}

Issue

idea

Transaction

idea

At some it could make sense to log the amount of items, an entity possesses. Regularly earned goods (produced by devices, collected plants, dumpstered food, ...) would be noted by persons, groups or locations:

  • {{harvest|item=|date=|amount=|log=}}

Person

idea

A nomad arriving at a location can define oneself as a host for an amount of time and / or share items (see above). Individuals can form a groups and tribes.

  • {{hosts|at=|until=}}
  • {{joins|...}}
Error creating thumbnail: File missing
change photo

Nomadwiki is a wiki for nomads, started by some of the same community who brought you Trustroots, Hitchwiki, Trashwiki, Couchwiki, Sharewiki and more.