Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Andrew Hain
-talk] Lua modules are here: Improving OSM wiki templates Am 29.07.2018 um 14:57 schrieb Yuri Astrakhan: > * Much better performance compared with wiki template language Sounds great. One of the major pain points on many Wiki pages is the whole topic around Language / LanguageSwitch templa

Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread mmd
Am 29.07.2018 um 14:57 schrieb Yuri Astrakhan: > * Much better performance compared with wiki template language Sounds great. One of the major pain points on many Wiki pages is the whole topic around Language / LanguageSwitch templates. Verdy_p has written a lengthy analysis of the current situat

Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Jo
I'm afraid it's not useful on our wiki. First of because our pages are not connected to Wikidata (for obvious reasons). But if people want to have a look at Lua code, or if they want to use it on a Wikipedia to refer back to OSM objects, that's where it could be useful. Jo Op zo 29 jul. 2018 om

Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Yuri Astrakhan
Thanks Jo, now you can copy it to OSM wiki if you think it would be useful! :) On Sun, Jul 29, 2018 at 3:06 PM Jo wrote: > This is only tangentially related, but I created a Lua module for the > wikipedias a few years ago: > > https://en.wikipedia.org/wiki/Module:OSM > > It generates an Overpass

Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Jo
This is only tangentially related, but I created a Lua module for the wikipedias a few years ago: https://en.wikipedia.org/wiki/Module:OSM It generates an Overpass Query showing all the objects related to the Wikipedia entry via wikidata tags in the OSM data. Polyglot Op zo 29 jul. 2018 om 15:0

Re: [OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Yuri Astrakhan
P.S. If you want to test this new functionality, please use Module:sandbox/your_wiki_user_namepages (or a subpage of that, e.g. Module:sandbox/your_wiki_user_name/my_test_1). Once the template is ready for usage, you can always rename it to something else. On Sun, Jul 29, 2018 at 2:57 PM Yur

[OSM-talk] Lua modules are here: Improving OSM wiki templates

2018-07-29 Thread Yuri Astrakhan
Hi everyone. Thanks to Tom Hughes, we now have Scribunto extension set up on OSM wiki, which allows Lua language in addition to the very slow and unreadable wiki template language. Documentation: * https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual * https://en.wikipedia.org/