User blog comment:DoCheonGong/I have a plan to move the page to determine the difficulty of earning stars./@comment-26235098-20150826205745

Hi

I discovered yesterday that you had replicated the Difficulty Level module for stars. It is the same logic, so I thought I would integrate the functionality for Stars in the main module, rather than have 4 almost identical ones. (I am talking about the program, not the data tables. The Difficulty level module now reads the stars tables you have created, based on parameters passed in.)

I am fairly confident that it works, and would appreciate your help to test it more, as you integrate stars.

I have provided a new entry point to the module that will handle both the pass difficulty (what we use on the levels) and the stars ratings. To retrieve star difficulties for levels, you can use Template:DifficultyRating which calls the new entry point. I wrote a little documentation, but if you have more questions, or notice any problems, please write to me about it.

Thank you!

Catinthedark (talk)

When I have done more testing, I will remove the old code from Module:Difficulty level and leave only the function that handles stars, although I will leave the old entry point for convenience, just connected to the new code.