User talk:Molldust

Hero Infobox edits
Your edits to the Hero infobox template appears to have removed semantic properties from a ton of heroes, resulting in missing things across the Wiki, like Table of hero attributes. I'm gonna roll it back for now and see if it fixes it. You can keep tweaking it but please keep SMW in mind! - Lemoncake  (talk) 20:51, 10 January 2016 (UTC)


 * Strange thing, I did the same treatment to Template:Item infobox and there were no issues. Gonna do some investigation. Of course the aim was to add semantics, not to remove them. I only checked a few properties last time, was not enough it seems. Molldust (talk) 21:37, 10 January 2016 (UTC)


 * Are you sure it broke? Everything looks fine for me. I checked Table of hero attributes, Invoker, Invoker/zh-hans, Anti-Mage, Anti-Mage/zh-hans, Property:Title, Property:Title, Property:Strength even after purging each page to refresh the semantics. Maybe you looked at the table mid transition. If you find any errors, let me know and I try to fix asap. Most likely there will be some minor issues with the wrapper, but I think I catched all of them so far. Molldust (talk) 09:14, 14 January 2016 (UTC)


 * On my browser it looks like most of the heroes on Table of hero attributes are gone. Maybe it took a while before the properties disappeared? - Lemoncake  (talk) 10:50, 14 January 2016 (UTC)


 * Still perfect for me. I tested on a new firefox profile with a cleared cache and no cookies. Can you name a few heroes that are gone and a few that stayed? Are all heroes showing up on Property:Strength for you? What browser are you using? It may be an issue with the ask query. Would be good to know some other experiences as well to identify the problem. Molldust (talk) 11:49, 14 January 2016 (UTC)


 * Nvm, I don't know how to count, it's way below the 111 heroes. Hold on. Molldust (talk) 13:20, 14 January 2016 (UTC)


 * Nailed it. Default release state is now true. Molldust (talk) 13:26, 14 January 2016 (UTC)

About old heroes and the hero infobox
Most heroes had totally different stats before their rework, so just using the wrapper is not good because it displays wrong numbers and it updates. Also, using the infobox puts them into categories. I think the best would be to create a 2nd hero box for old heroes and for custom game mode heroes, so they don't show up in the default heroes' categories.  Bu3ny  (talk) 13:17, 17 January 2016 (UTC)


 * Figured that out already and reverted the changes. I tried to come up with a good solution, but wasn't lucky so far:


 * It would be nice to be able to wrap pseudo items like Dagon and heroes/items from custom game modes. Therefore removing semantic properties is no solution. But then we have to introduce certain filters/properties to distinguish whether they origin from the main game or not (gamemode = main/haunted_colloseum/pudge_wars). Level stats (1/2/3/4 seconds CD for example) can't be handled by SMW directy, too. They need to be set once per value (cd = 1, cd = 2, cd = 3, cd = 4).
 * Removing the semantic properties from translation pages is necessary, but the setting "remove semantic properties" is not enough to solve all issues. For example the title property needs to be set for future translation switching. So far I worked around that circumstance and implemented it twice.
 * Template:Creep infobox uses no semantic properties. Main issue is that creeps like Kobold Foreman/Spirit Bear should have their own page and be transcluded to the camps/heroes. This also resolves the source-force-name dilemma.


 * I'll drop a note if I come up with a sane implementation. Molldust (talk) 14:26, 17 January 2016 (UTC)