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

I see the problem but have not solved it yet.

Problem occurred with change from 'facebook' was to'web' in the web/mobile icon templates, not due to these words themselves (which were correctly updated everywhere), but due to other syntax changes within Template:Web.

Template:DifficultyColorConversion performs string matching on the difficulty string for the level. To identify a composite (split) difficulty, it searches for the specific pattern/syntax in Template:Web, which occurs first in the tuple. With this being changed, the pattern is not found... so the entire difficulty string is returned. As the code then tries to switch on it for a color, no color corresponds and nothing is returned.

First, I will try to find a pattern that can be used which matches the current code, to restore the functionality we had.

Second, as we can see this may be an unstable solution in case of future syntax changes, I will think about how I might make the overall detection process more robust so it does not break with the next syntax change.

Finally, rendering the split format automatic will be deferred for now.