Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation…

Authored by Amire80.


Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation 9471960f7bf342506eff6becdc85adf03a9baa9d

Prevent NaN in the trend in CXStats

Before this patch, if two weeks ago there were zero translations,
the stats trend calculation would divide by zero and show "NaN%"
to the user.

Now, check: If it was zero, then show 0% if there were no translations
last week or 100% if there were any.

Bug: T112960
Change-Id: Icf98c545ad39ededf30bf1ebd15c5e821b488b08