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"
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
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 :-)
- Done. Code is in both wikis and WDwiki. --Molarus 20:57, 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.
@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)
- I´m happy the code works in arWiki too. --Molarus 20:11, 27 February 2017 (UTC)
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)