openzim / wp1

Wikipedia 1.0 engine & selection tools
https://wp1.openzim.org
GNU General Public License v2.0
24 stars 17 forks source link

Wikiwork template call in project pages seems to expect name without underscores #310

Closed audiodude closed 2 years ago

audiodude commented 3 years ago

Notice that the wikiwork row is included for: https://en.wikipedia.org/wiki/User:WP_1.0_bot/Tables/Project/Aesthetics

But it's missing for: https://en.wikipedia.org/wiki/User:WP_1.0_bot/Tables/Project/Television_stations

And also missing for: https://en.wikipedia.org/wiki/User:WP_1.0_bot/Tables/Project/Computational_Biology

DiyaReddy commented 3 years ago

@audiodude Hello, from the description i understood that there are wikiwork rows missing in these https://en.wikipedia.org/wiki/User:WP_1.0_bot/Tables/Project/Television_stations https://en.wikipedia.org/wiki/User:WP_1.0_bot/Tables/Project/Computational_Biology I am trying to work and add the rows with their appropriate values and will update you on any changes Thank You!

DiyaReddy commented 3 years ago

@audiodude in the first table which ω=3,812 and Ω=4.89 ω omega =a+2g+3b+4c+5s+6t where a is A-class articles, g is GA-class articles, b is B-class articles, c is C-class articles, s is start-class articles, and t is stub-class articles. Ω= ω/{number of articles} From the formula we dont have A class articles in the table so by calculating and considering the final value value of A=3 so by substituting the value of A we get these desired results. But I am little confused about the second and third table, should we not consider the value of A because we can not ignore it for the total value to be accurate. Thank You!

audiodude commented 3 years ago

@DiyaReddy The generated templates already have a call for Wikiwork, and the calculation is fine as far as we're concerned.

The bug is extremely minor in that we're passing Names_with_underscores while the Wikipedia template for wikiwork seems to prefer Names without underscores.