Uploading an image in mobile view gives a NaN on the Special:Uploads page at the top of the page.
Requirements:
- Language is set to de
- only one image is uploaded yet
Solution:
There are two possible ways to fix this. First one is to remove the "Eine" from the i18n file (de.json ln 258), this text is processed in JavaScript by the parseInt method, giving a NaN as a result (resources/mobile.notifications/init.js ln 65). Second way is to leave the translation this way and check for the result of the parseInt method, returning a "1" if the result is NaN.
I prefer the second way, as I don't know the other languages here. The english one for example has a "1" instead of the word "One", so it's ok here.
I've created the patch according to my prefered way here: https://gerrit.wikimedia.org/r/#/c/216916/