Localisation updates from http://translatewiki.net.

Change-Id: I534d9b34481073a8b507bb20720e4336a9da97cc
Improved some formatting in code and comments.

Change-Id: Id9f31cdafcdca89ce592e1b63fac494906c78b90
re-enabling replacing span id's when adding multi-template instances

Change-Id: I6e4d3a31096edf25e0016abfaffdc01d114b1d94
Fixing unmatched profiling calls

Change-Id: Id456fa683193d2f9bee0fef48875ab084c1f2a42
Merge "re-enabling replacing span id's when adding multi-template instances"
(bug 34574) RunQuery popups do not close when form is submitted

DO NOT MERGE WITHOUT ACTUALLY TESTING IT!

This could well be browser-dependant and might need some debugging.
This patch is submitted to enable checking out and testing on other systems.

If you do test it, please note the name and version of the tested browsers in the review remarks.

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

Change-Id: I913f57d18c1400e81feb58a3cd57fd1ab83dddfe
Fixed handling for values like $1 in multiple-instance templates

Change-Id: I1da605e08e5c6ff1a16897d6067524bdbcc54a14
instance_num do not incremented for multiple values from wgRequest

BUG: by link http://discoursedb.org/wiki/Special:FormEdit/Item/Some_Item?Opinion[1][1]=Topic1&Opinion[1][2]=Position1&Opinion[2][1]=Topic2&Opinion[2][2]=Position2
show two "Opinions...", but "Save page" set only one (last) "Opinions..."
This is because that the variable $instance_num always equals 0

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

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

Change-Id: I1bbc8c89bd7d1ea7710b2d5631de06a434836206
(bug 41765) Autoedit changes unintended form field

Emulation of serialization of form values fixed

Change-Id: Iae435be08e8248b1078c07aca1473ca9082a2d42
(bug 41781) Validation problem with input type regexp and multiple occuring forms

This patch fixes several problems occuring for validation of inputs in 'multiple'-templates
* validation functions are kept in a numbered array, so SemanticForms_unregisterInputValidation has to use a loop
* now that verification functions are actually removed when they get unregistered there may exist holes in the numbered array, so actual availability of a verification function has to be checked in several places
* to distinguish between inputs disabled because of restricted access and inputs disabled by SF a new class 'disabledBySF' is assigned
* inputs in the multiple template starter are disabled by any submit event, including the preview, so have to be un-disabled if necessary
* when an instance was added validation functions were added only if also init functions were added, they are now added independently
* the event handler handling unregistering of init and validation functions was moved so that it now applies to all instances (present on load, added by user)

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

Change-Id: Idbed4d9ad5eced04e688f488a27528191e321f79
Merge "(bug 41781) Validation problem with input type regexp and multiple occuring forms"
bugfix: JS crash when initializing muliple template input

The id attribute of 'this' was changed inside the called init function. For the loop it has to stay constant.

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

Change-Id: I21628fe9932bacd4d7c2e8e0f1ebb6de0ea0d242
Merge "Localisation updates from http://translatewiki.net."
Localisation updates from http://translatewiki.net.

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

Change-Id: I9ddebf831669a22a93b7f18b89a4101362589252