Closed IMayBeABitShy closed 10 months ago
@mgautierfr This seems correct, should we update the spec to specify that we deal wuth the C namespace?
Indeed. We should update the spec. Only non-redirect in "User C
ontent" namespace are (and should) be counted.
Hi everyone,
this is just a very minor issue, but I think I may have spotted a slight deviation between the way the specification describes the
M/Counter
metadata and how thelibzim
writer implements it.The specification describes the
M/Counter
metadata as follows:While libzim writer implements the counter incrementation as follows:
The difference here is that the specification makes it sound like all non-redirect entries should be counted regardless of the namespace of the entry while
libzim
seems to only count non-redirect entries in theC
namespace.This is only a very minor deviation and I think that
libzim
behavior is more reasonable (mimetype count is mostly interesting to inform user about actual content), but I just wanted to mention this.