Nomadwiki.org:Admin
Hey there! Nice to have you around at Nomadwiki.
For support, please add to the portal or see Nomadbase.org for urgent requests.
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 this template.
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
- From time to time Wanted categories pop up when new types were filled into forms.
- Uncategorized files, broken file links - some images have disapeared, either upload again or remove the link (bot work)
- For Template:Template a description should be included to the templates using it, but how is it possible to inherit <noinclude>? --Traumschule (talk) 20:25, 30 September 2017 (CEST)
More: Uncategorized pages, Uncategorized categories, Unused categories, Uncategorized templates
Help to cleanup these articles. Mark articles to this list with cleanup template.
{{#ask: Has todo::+ |?Has todo=Task }}
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
- Semantic searches
- Display information
- Select pages
- Berline: example to define information
- Show results via a template
- Properties and types
- Show the list of communities,
{{#ask: [[Category:Community]] }}
results: {{#ask: }}
- Show a table of events in Hitchwiki (events are not stored in a category here):
{{#ask: [[Category:Event]] |?Has start date = start |?Has end date = end |format=table |sort=Has start date |order=desc |limit=200 }}
- To show coordinates of hackbases on a map (maps are deactivated in this wiki):
{{ #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
- For a list of all properties in the wiki, see Special:Properties.
- For a list of all property types in the wiki, see Special:Types.
The most important site meta-properties are:
Documentation and questions
user wishes go here
admin log
- I added "introduction" field to country articles and moved "free text" to the footer (it used to be on top). Now a lot of intro texts are at the footer of the article, we just have to go trough the country articles and move them back to top. -Mikael (talk) 00:39, 17 December 2015 (CET)
- I created a new form for locations and turned some communities into locations. The latter are for actual places with a fixed geolocation. Communities could be used for (mobile) groups like nomadic tribes instead. The Category:Locations lists locations types. I tend to implement a dropdown menu or a combobox and dedicate a new category for that property. There are also category trees which wouldn't fit here. --Traumschule (talk) 20:59, 20 September 2017 (CEST)
- Could not find a solution for the [[Has default:form]] issue in smw:Category:Special_properties and tips.
- Added more classes following the ideas of Tsolife, see below and above --Traumschule (talk) 04:59, 27 September 2017 (CEST)
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
- places: Form, Template and Category.
- cities: Form, Template and Category.
- Country|countries: Form, Template and Category.
Transport
Groups
- links: Form, Template and Category.
- Persons form learning groups, traveling collectives, tribes, ...
Category:Skills
Is needed for some recipes.
Recipes
- links: Form, Template and Category.
- add recipe
- offer skill: {{teaches|SKILL PAGE|comment}}
- request skill: {{need|skill=|region=}}
Services
- links: Form, Template and Category.
- add service
- offer service: {{offers|SERVICE}}
- request service: {{need|SERVICE}}
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|...}}
Nomadwiki is a wiki for nomads, started by some of the same community who brought you Trustroots, Hitchwiki, Trashwiki, Couchwiki, Sharewiki and more.
Hospitality exchange | Sustainable Hospitality Exchange | The Art of Hosting
Maps - Blogs - Guides - Accommodation - adhoc infrastructure - Lifestyles - Co-Living