Localisation updates from http://translatewiki.net.

Change-Id: Ied50255c9f7850860343b4ee72dec94a4c1115a4
Tiny fix in debugging method

Change-Id: Ia6a9034bf97cca8c23769a14ed8bbc8075c761bd
Fix Bug 37575

Applied patch submitted by Francesco Panico and Andre Klapper:
* Correct insert syntax for empty default graph.
* Set mime type and content encoding for update and query requests.

Change-Id: I06aaf9dc5a20eb86e124878f7a149d2f5c9be0c3
Fix Bug 38136

If a delay is given, it is now applied after every page, not only after batches of 100.

Change-Id: I267361e67a6790f694b5be95f2067a58f612f073
Fix Bug 38489

Detect the specific problem reported for Bug 38489 and also check for similar exceptions that might happen due to problems we do not foresee.

Change-Id: I1640938e21054e37d9ceb647ac08f5b32eb3cd39
Fix Bug 39392

When returning unlinked URLs in wikitext, additional escaping is needed to prevent MediaWiki from turning them into hyperlinks anyway.

Change-Id: I948635ffb6df1577c4dabf7b10b668975432fb4f
Use md5() instead of hash_init() et al.

This fixes Bug 38185.

The hash function has also been changed to work with the new subobject handling.

Change-Id: I7a01046ad927166ca84f0f23c88941448f76cfb9
Fix Bug 37065

Prepend ":" when serialising namespace queries for NS_CATEGORY. Without this, the serialised query cannot be parsed properly, since it is confused with a Category query.

Change-Id: Iaaef1851e78ba880d70eec3179148603ebd8a678
Fixed use of SQL2 constants in SQLStore3

Most of the constants were just defined under the old name, which could potentially lead to re-defined constants if both files get loaded. In one case, the constant had been renamed in the definition but not in the code, leading to a PHP warning in certain cases.

Change-Id: I032b965a3d301ca886a2507aec7aee4089afbffb
Fixed capitalisation in function call (minor)

Change-Id: If61d9272f522250d592f50022843fd6d36497fcc
Remove use of Language::numParams

Change-Id: Ifdb65a946f4887480e38d4a68ac7520ff9255956
Restore compatibility with 1.17 broken in I0a29fed0

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

Change-Id: Ia08c65a9b6322abe0c38db4a6951aec40a156a3b
Improved Time handling

* Fixed Bug 41126 by storing dates in full serialised format, including calendar model
* New serialised format is also easier to parse and does not rely on deprecated code.
* Added new output formats "Jl" and "Gr" for time data, so that the desired display calendar model can be set for query results
* Simplified SQLStore3 table structure for SMWDITime: one index less, no more string matching (was not meaningful anyway, especially not with the new serialisation format)

Change-Id: Ic017f0a3f0f48554b12b585a299c07861c19c511
Merge "Improved Time handling"
Implement consequences of new Container handling

Container DIs have recently become virtual -- they are never stored as such but only used to encapsulate user input that leads to complex data. Various conseqeunces of this design have now been implemented:

* Record properties are declared as having di type wikipage
* SQLStore3 has no more special code for storing containers, no extra table either
* SMWRecordValue can be created from SMWDIWikiPage objects (but also continues ot work with SMWDIContainer objects)

The change should not lead to new problems in SQLStore2 either, although it still has more code for Containers (which is simply not used now). Containers remain relevant for querying the stores and they will continue to be supported there.

Change-Id: Ifd159d353a0fcd928567d5c2d09df4da5168d978
Check validity before accessing member object

This fixes a rare error caused by accessing a null object. Callers should check this, but if they don't there should still not be a PHP error.

Change-Id: I38956c52e3b7f68d9b2979d48980c3cfac3bfa35