Attempt to fix parsing of the file

https://bugzilla.wikimedia.org/show_bug.cgi?id=68023