User talk:Yurik: Difference between revisions
Line 44: | Line 44: | ||
: {{ping|Dekel E}} technically you don't need to do anything - just simply start using it as described in [[mw:Help:Kartographer]]. If you want some extra functionality, you might want to copy (adapt) [[MediaWiki:Kartographer.js]]. Lastly, if you already have some useful templates like {{tl|see}}, you might need to change those templates a bit. I am still working on optimizing them here on en-wv, but it should get you started. Let me know if you have any problems. --[[User:Yurik|Yurik]] ([[User talk:Yurik|talk]]) 21:55, 17 July 2016 (UTC) |
: {{ping|Dekel E}} technically you don't need to do anything - just simply start using it as described in [[mw:Help:Kartographer]]. If you want some extra functionality, you might want to copy (adapt) [[MediaWiki:Kartographer.js]]. Lastly, if you already have some useful templates like {{tl|see}}, you might need to change those templates a bit. I am still working on optimizing them here on en-wv, but it should get you started. Let me know if you have any problems. --[[User:Yurik|Yurik]] ([[User talk:Yurik|talk]]) 21:55, 17 July 2016 (UTC) |
||
::{{ping|Yurik}} What do I have to change on the listing templates? Don't I need to add something to Mapframe and marker templates? Thanks and sorry if you don't understand my English. [[User:Dekel E|Dekel E]] ([[User talk:Dekel E|talk]]) 07:25, 19 July 2016 (UTC) |
::{{ping|Yurik}} What do I have to change on the listing templates? Don't I need to add something to Mapframe and marker templates? Thanks and sorry if you don't understand my English. [[User:Dekel E|Dekel E]] ([[User talk:Dekel E|talk]]) 07:25, 19 July 2016 (UTC) |
||
::: {{ping|Dekel E}}, I will have to look at he-wiki to see what needs to be changed, but I won't have time to look at it any time soon - there are two conferences in Seattle this weekend, and I need to prepare for them. Plus we are enabling maps on hewiki, meta, cawiki, and possibly a few more - so that we can get some feedback. --[[User:Yurik|Yurik]] ([[User talk:Yurik|talk]]) 21:19, 19 July 2016 (UTC) |
Revision as of 21:19, 19 July 2016
An award for you!
The Wikivoyage Barncompass | |
Thanks for your work on the new maps, and moreso for being amazingly responsive to bug reports. I expected it would take a couple of days to resolve the mapmask issue, but I think you had it fixed in a matter of hours - truly impressive and appreciated. -- Ryan • (talk) • 15:53, 10 June 2016 (UTC) |
- Thank you Ryan! I'm sure I will be breaking things frequently in the next few days as I make more changes to the map, so keep sending feedback and bug reports :) --Yurik (talk) 15:58, 10 June 2016 (UTC)
Listing and maps
Please stop experimenting in Listings and Map templates. Let have a new method that is not a regression before going live. --Traveler100 (talk) 14:21, 12 June 2016 (UTC)
- Traveler100, did I break something? Most changes are being done after being tested. --Yurik (talk) 14:22, 12 June 2016 (UTC)
- We have lost functionality on the maps, messed up listing numbers on itineraries and appear to be added a new method to listings without discussion. --Traveler100 (talk) 14:24, 12 June 2016 (UTC)
- Traveler100, the new method on listing was specifically added to fix the itinerary. Check out Rheinsteig and Wales_Coast_Path. Maps have been enabled on Wikivoyage for months for experiments. Now I switched it over, and I am rapidly fixing all the minor cases that were not noticed before. If I was to start a discussion about each tiny change with template parameters, we would never get anything done (that's why Nupedia failed and Wikipedia succeeded, also be bold). If you think something specific should be changed or altered or is being done badly, sure, lets discuss it on the forum :) --Yurik (talk) 14:42, 12 June 2016 (UTC)
- We have lost functionality on the maps, messed up listing numbers on itineraries and appear to be added a new method to listings without discussion. --Traveler100 (talk) 14:24, 12 June 2016 (UTC)
Introduction of myself and Kartographer proposals
Besides DerFussi I am one of the admins and programmers at WV/de. Because we are very busy I can contact you only today. Now we are checking the opportunities of the Kartographer, and we partly implemented it. After my first checks I added three tasks shown beside.
A more complicated question is where to store tracks and masks. At WV/de we use GPX subpages, at WV/en GPX templates are used. I do not like these declarations. I prefer a storage at Wikidata including imports and exports of GPX and other track data. These data could be used on all WV branches and WMF projects. We should discuss with the Wikidata community and programmers how to implement this.
We should involve User:Mey2008 because he is the programmer of the tools which are in use up to now and therefore an expert on maps. Unfortunately he is now confronted with problems and bugs using the Kartographer extension but he needs additional information which is not yet documented.
An important feature for all communities is a map showing nearby articles. We need it to change over to the Kartographer. Is it possible to make nearby information available on WV/de, too? --RolandUnger (talk) 14:22, 12 July 2016 (UTC)
- RolandUnger, thanks for your note and tasks! I have proposed two solutions for the GPX: storing GeoJSON data in dedicated pages on Commons phab:T137930 (accessible from all wikis), and getting data directly from the OSM database (see demo). The nearby articles feature exists in English, and will work the same way in German WV. It downloads the data from the existing maps service. --Yurik (talk) 17:30, 12 July 2016 (UTC)
- Today I added a workaround (show parameter) to the {{Marker}} template so all markers are now shown if you click on a marker symbol. --RolandUnger (talk) 04:44, 13 July 2016 (UTC)
- RolandUnger, I think we should delete all (or at least most) of the parameters instead of adding them. Module:Map can handle "parent" arguments, which means that the {{marker}} may contain almost no parameters, and the {{listing}} or {{see}} could specify all the needed stuff. Example: User:Yurik/Sandbox/Nested2 (which uses User:Yurik/Sandbox/Nested1 - that has no arguments). Of course that means we might need to rethink the structure of the templates - because it can only support two levels -- User:Yurik/Sandbox/Nested3 does not show debug information, but if it was using Nested1, it would. --Yurik (talk) 09:44, 13 July 2016 (UTC)
- I know that my additions could be only a workaround to generate a map behavior as expected. Done because some English-branch authors are angry about missing features and bugs of the Kartographer. I think that this is not mainly a problem of parent arguments – {{listing}} uses markers like stand-alone markers. Both templates, {{Marker}} and {{Mapframe}} which differ only in the map center position and zoom level, use now a default show argument with a big list of group ids. This problem will become bigger if we are introducing customizable markers. That's why I proposed task T140083 to introduce the all parameter for the show argument to simplify the specification of the show argument. Maybe it is a design bug of Kartographer to do not show all by default.
- By the way, as of July 11, 2016 Mapquest stopped direct tile access. --RolandUnger (talk) 10:39, 13 July 2016 (UTC)
Maps on hewikivoyage
Hi Yurik, How can we update our maps on hewikivoyage to the new Kartographer's maps? Thanks, Dekel E (talk) 12:08, 16 July 2016 (UTC)
- @Dekel E: technically you don't need to do anything - just simply start using it as described in mw:Help:Kartographer. If you want some extra functionality, you might want to copy (adapt) MediaWiki:Kartographer.js. Lastly, if you already have some useful templates like {{see}}, you might need to change those templates a bit. I am still working on optimizing them here on en-wv, but it should get you started. Let me know if you have any problems. --Yurik (talk) 21:55, 17 July 2016 (UTC)
- @Yurik: What do I have to change on the listing templates? Don't I need to add something to Mapframe and marker templates? Thanks and sorry if you don't understand my English. Dekel E (talk) 07:25, 19 July 2016 (UTC)
- @Dekel E:, I will have to look at he-wiki to see what needs to be changed, but I won't have time to look at it any time soon - there are two conferences in Seattle this weekend, and I need to prepare for them. Plus we are enabling maps on hewiki, meta, cawiki, and possibly a few more - so that we can get some feedback. --Yurik (talk) 21:19, 19 July 2016 (UTC)
- @Yurik: What do I have to change on the listing templates? Don't I need to add something to Mapframe and marker templates? Thanks and sorry if you don't understand my English. Dekel E (talk) 07:25, 19 July 2016 (UTC)