Localisation updates from http://translatewiki.net.

Change-Id: I8a8017dd81d6afbe4b160d380843973e0139834f
(Bug 45973) Fix check for avoiding re-cache

If the request could not be served from the cache, we *do* want to cache it.

Change-Id: Id58dac55ce79f568e4b4a42a155235af5a46bf7f
Revert "(Bug 45973) Fix check for avoiding re-cache"

Revert unreviewed self-merge with pending issues.

This reverts commit f5422cf85a261c47c21dcc2699ccc1bbf1eea029.

Change-Id: I17471e2adccf54b79a9d8185c4a6f4b6937ce622
Write cache unless there *is* a cache hit:

Moves writeCache call back to hooks (changed in 9ba4ef269d9ea1adc016cbc83e58aef1be45b6f9)
 and makes it unconditional, so only one part of the code decides
whether to write to the cache.

Bug: 45973
Change-Id: I6b387795304ff15c960fcf0f5354a9ac939e1212
Do proper pre-pack processing for $this->hash.

Output hash calcuation sometimes fails because of Texvc failure for
example, and $this->hash remains ''. At this time inserting null as
outputhash into database is improper, because that column is NOT NULL.

With this patch an empty string '' is inserted instead, and the if-check
is modified to avoid cases where ->hash exists but evaluates as null
(for example when it's '0000000000...' though it's extremely rare).

Change-Id: I852859f4b151b777c11b743faaed61dfc2c029a7
Localisation updates from http://translatewiki.net.

Change-Id: Ib2ca7bddd5820e3d2694c754900992c518ddaa2c
Localisation updates from http://translatewiki.net.

Change-Id: I215a0b3ebd8518f88aac1105c171771dff72560d
Localisation updates from http://translatewiki.net.

Change-Id: Ie1097f574b5a4386874f331802adf2eb04b7dcad
Localisation updates from http://translatewiki.net.

Change-Id: Icf520f109f9bfb0a8ccb257fded7b9abcb488177
additional phpUnitTests

adds two new phpUnitTests for the abstract MathRender class
and another one that test the basic database access.
Therefore the read and write methods have been made changed
from protected to public.

Change-Id: I77a8b0a4dfe7529b5521ead097ac7b518688ef70
Localisation updates from http://translatewiki.net.

Change-Id: I6fc4ca9b56c8dd53983e59f8ff62ed258a263caf
Merge "additional phpUnitTests"
Merge branch 'master' into LaTeXML

Conflicts:
	Math.hooks.php
	MathRenderer.php
	MathTexvc.php
extension of the unit tests
fix broken tests