Difference between revisions of "Nomadwiki.org:Admin"
Traumschule (talk | contribs) (moved from Help:Contents) |
Traumschule (talk | contribs) (moved maintenance stuff from Nomadwiki.org:Todo) |
||
Line 1: | Line 1: | ||
Hey there! Nice to have you around at [[Nomadwiki]]. | Hey there! Nice to have you around at [[Nomadwiki]]. | ||
− | For support, check in at [[project:community]]. For urgent requests, see [[Nomadbase.org]]. | + | For '''support'', check in at [[project:community]]. For urgent requests, see [[Nomadbase.org]]. |
After reading the [[Help:Contents|editing intro]] you maybe like to help with [[Todo]]s? | After reading the [[Help:Contents|editing intro]] you maybe like to help with [[Todo]]s? | ||
Line 11: | Line 11: | ||
If you are interested in developing new features or classes, read on at your own risk and [[project:community|join #nomads]]. | If you are interested in developing new features or classes, read on at your own risk and [[project:community|join #nomads]]. | ||
+ | |||
+ | == 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]]. | ||
+ | * [[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) | ||
+ | |||
+ | Done: [[Special:UncategorizedPages|Uncategorized pages]], | ||
+ | [[Special:UncategorizedCategories|Uncategorized categories]] (3), | ||
+ | [[Special:UnusedCategories|Unused categories]] (1), | ||
+ | [[Special:UncategorizedTemplates|Uncategorized templates]] --[[User:Traumschule|Traumschule]] ([[User talk:Traumschule|talk]]) 22:25, 9 September 2017 (CEST) | ||
+ | <!-- | ||
+ | ''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 }} | ||
+ | --> | ||
=Semantics= | =Semantics= |
Revision as of 16:12, 28 September 2017
Hey there! Nice to have you around at Nomadwiki.
For 'support, check in at project:community. For 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
- User:Traumschule created a mess for countries country categories. Wanted categories for countries should use {{countrycategory|{{PAGENAME}}}} like in Category:Norway.
- Uncategorized files, broken file links - some images have disapeared, either upload again or remove the link (bot work)
Done: Uncategorized pages, Uncategorized categories (3), Unused categories (1), Uncategorized templates --Traumschule (talk) 22:25, 9 September 2017 (CEST)
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 when there is a form specified on the category page like so: [[Has default form::Country]]. The problem is, country pages can't be categories then, or above option won't work. At the moment there are a lot of wanted categories because the city template adds a category for the country parameter. The easiest fix is be to remove that from the template or create those categories, leaving the info about the country on a separate page.
To make forms work, it needs the form, a template and a dedicated category, that can't be used otherwise. Forms used in this wiki:
- Countries: Form, Template and Category.
- Cities: Form, Template and Category.
- Communities: Form, Template and Category.
- Locations: Form, Template and Category.
- Transport companies: Form, Template and Category.
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