Open main menu

User talk:Molarus

List of missing data, noteEdit

At the moment I´m working on a this Lua module Module:Cycling race for showing WD-data of a cycling competition as a table in Wikipedia. I´m using the Lua Error Handling function pcall (protected call) to encapsulate errors. "Errors" means: properties or values are missing. If I turn things around and don´t show what is right only what is wrong, I would get a list of all "errors", that means a list of all missing data. For generalizing this to all sport competitions and maybe for everything, a way to formulate how the items and properties should be connected (w:Ontology language) and a software to translate this into lua-modules is needed. Such modules could be inserted into the discussion pages to show users and bots which data is missing in an item or in a group of items. "Go bot, find me the latest unemployment figures at www"

Fehlende FunktionalitätEdit

Hi! Man kann sich hier noch nicht einmal ironisch bedanken. Was für ein Saftladen. ;) Gruß --Succu (talk) 19:35, 9 December 2015 (UTC)

Cycling raceEdit

Guten Tag, Schablone ohne Q-Nummer gefällt mir viel. Meiner Meinung nach bei Esperento der Name "Informkesto bicikla konkurso" würde besser passen als "cycling race/infobox" für die Schablone Name. Tschuß. --Pino~eowiki (talk) 14:24, 24 February 2016 (UTC)

Links to stagesEdit

Hi Molarus

Is it possible to fix the the stage links in "listofstages" on a article as Eneco Tour 2016 on DaWiki from "etape 1" to "1. etape" and so on? It is the same thing on DeWiki :-)

Thanks in advance, Hejsa (talk) 21:20, 23 November 2016 (UTC)

Done. Code is in both wikis and WDwiki. --Molarus 20:57, 25 November 2016 (UTC)
Perfect, thank you very much :-) --Hejsa (talk) 20:59, 25 November 2016 (UTC)

Hi again Molarus

Is it possible to remove the contry names on DaWiki at stageclassification and generalclassification, see example here, so we only have the flags, just like DeWiki? I still want the country names at teamroster.

Thank you in advance! :-) --Hejsa (talk) 23:54, 27 January 2017 (UTC)

@Hejsa: deWiki doesn´t have the country names, because they do not have the new lang-Module. At the moment, I´m rewriting all classification modules and I have found a much better way to code them. The result is that the lua time is reduced from 3 sec to 1 sec for 6 tables (see Module talk:Version 2, where I´m developing new code). The lang-Module helps me with that. In your example, the national team for Elia Viviani is shown and "Italien" is printed. This word is taken from Wikidata, but country items are very slow to read. The new lang module is an alternative to that and therefor increases the speed of the classification tables a lot. Another positive effect of the new lang module is that in the future we don´t have to print only abbreviations as tooltip for the flags. When we get that feature, maybe more data should be inserted into the new lang Module. By the way, you could expand the lang module the way you want. For example, you could insert all Scandinavian items into your local lang module, if you show lots of riders from Scandinavia. Maybe adding 300+ country names is to much and it is to much work to insert them all by hand. But 30 or 40 should be OK, imho.

If you do not want the country names to save space in the articles with the classification tables, I can do that (only for the country column), it is just a few lines of code. --Molarus 00:50, 28 January 2017 (UTC)

Thank you for the good explanation. It is mostly bacause I want to save some space with the classification tables, in the example there are some teams with very long names and I think this is best way to save that space. --Hejsa (talk) 11:55, 28 January 2017 (UTC)
Done. By the way, I have shorten "Asociación Civil Agrupación Virgen de Fátima" to "Agrupacion Virgen De Fatima" (see here). --Molarus 17:37, 28 January 2017 (UTC)
Thank you very much, it gives a much better overview now :) --Hejsa (talk) 17:48, 28 January 2017 (UTC)

Module:Cycling raceEdit

Thanks you It's a good way to add Arabic name --Mr. Ibrahem (talk) 14:23, 27 February 2017 (UTC)

I´m happy the code works in arWiki too. --Molarus 20:11, 27 February 2017 (UTC)

dewikiEdit

Könntest du hier und hier mal bitte vorbeischauen.--Chris XC3000 (talk) 19:53, 17 August 2017 (UTC)

Cycling raceEdit

Dear Molarus. I was told that you would know how to fix the WD-template Cycling Race? The problem is, that on the danish wikipedia, their is not red link, when a rider hasn't got a wiki-page (see da:PostNord Danmark Rundt 2017), which is not how at least da.wiki works. Can you fix this problem? Tøndemageren (talk) 11:06, 14 September 2017 (UTC)

Return to the user page of "Molarus".