Difference between revisions of "Documentation:The Editor and data format"

Jump to navigation Jump to search
no edit summary
Line 120: Line 120:
==The Parser==
==The Parser==
In this article we did all the manipulations with data manually just to teach you the data format. That’s not how you usually create layers for the Timeline though. There is a program called Parser that greatly facilitates the creation of layers. You can learn how to use it from this [[Documentation:How to use the Parser|article]].
In this article we did all the manipulations with data manually just to teach you the data format. That’s not how you usually create layers for the Timeline though. There is a program called Parser that greatly facilitates the creation of layers. You can learn how to use it from this [[Documentation:How to use the Parser|article]].
==Uploading data to the server==
Once your layer is created and tested, you can upload it to the server. You need to create a corresponding page on the server. For layers this page should be in the ''HistoryTimelineLayer'' namespace. There are two ways you can create a page on the server. One is hard and not recommended. The other is easy.
The hard way looks like this. You go to the site and in the search field enter the title of the page you want to create (don’t forget the namespace).
[[File:LayerNameInSearchField.png]]
In the search results you will see the red link because such article doesn’t exist yet.
[[File:LayerNameInSearchResults.png]]
Click that link. Now you can paste the layer data on the page and save it.
[[File:CreateNewLayer.png]]
The easy (and recommended) way looks like this. You type the name of the layer (without the namespace) in the top input field of the Editor.
[[File:CreateNewLayerInEditor.png]]
You then click ''Create layer'' button. This will send you directly to the article creation page with the correct title where you can paste the layer data.

Navigation menu