Thread:DoCheonGong/@comment-3225604-20160608091907/@comment-26235098-20160622140059

Catinthedark wrote: Imamadmad wrote: Popping in out of nowhere here, but remember that any changes that need to be made can probably be done by bot, so large-scale find/replace shouldn't be a problem. Good to know, tho the material to replace is rather heterogenous, so it might be a bit hair-raising to code a bot to do it. But even if not 100%, if a bot could get most instances, then manually clean up residual. I'll holler when I get the rest sorted then... ;>

Imamadmad wrote: On the actual problem itself, because I have been non-existent for a while, where are the problems occurring? Is this in the infoboxes and List of Levels The automation I am talking about is for the list of levels type pages.

Imamadmad wrote: Anyway, if you put code in a split difficulty template so that it checks if the mobile and web versions are the same, you can use that to toggle split difficulty view in any further templates that are used to display things. For that purpose, I simply created Template:IsSplitDifficulty which wraps a Lua function returning boolean for this purpose. A double difficulty call would be unneeded, and with this being done on every line, efficiency is desirable where possible.

I have since been looking into/testing ways to template the lines of the tables themselves (building one template which would cover ALL the level tables, as the formatting is identical and only a few columns vary). This would encapsulate the split difficulty check, and IDEALLY simplify table editing. Not sure yet whether I can pull this off in robust way. If editing will be harder or subject to causing 'issues' d/t chained templates, we can just apply the split difficulty" toggling onto each line of the level tables, making them a bit longer. I'd like to hold off on this tho, in case I can provide a simplified alternative.

I do have other things going on, so I may not finish before this weekend. I ask for everyone's patience while I look into various options and try things. Thank you.

The original bugs reported in this thread are ALREADY FIXED:
 * page 594 has proper split page/difficulty navigation ✅
 * level pages/tables again show split difficulty colors ✅