Backport compatible message changes from master.

Synced up to 58852d882752b46a1c2b79d2476489dfbc978f5f.

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

Change-Id: I5c882f713870fb9d4f6614162027a0f1912725cf
Fix mixed script locale. Remove Hant.

Change-Id: I3c808b197a886466985738515d706445e72017ea
Merge "Fix mixed script locale. Remove Hant." into REL1_19
Localisation updates from http://translatewiki.net.

Change-Id: I01e746ee34a9d4565a02caac56b5c496e427f287
(bug 38411) Wrong PK UK definition for page_restrictions

+ removed a reverted patch calls from updater
+ added user_former_groups field length patch

Change-Id: I42cfb3ac97016bbdde3192a770540bfffd1389f0
(bug 38406) Properly quote table names in DatabaseBase::tableName()

Currently the logic is the following:
$database = ( $format == 'quoted' || $this->isQuotedIdentifier( $database ) ? $database : $this->addIdentifierQuotes( $database ) );
This means that $database will *not* be quoted if $format is set to 'quoted',
which is the opposite of what we want here. Instead I just copied the code
used to quote $table just below and replace the variable.

This causes SQL syntax errors when the shared table name contain hyphens
since it is not quoted.

Backport of Idda844cb (a6c47b6) to REL1_19.

Change-Id: Ie9de42a30bb65d192c542bf3bc57eef464486b2f
Backport compatible message changes from master.

Synced up to 0d70409b5e0e84e237f881dbc88f0ad207664b27.

Change-Id: I421af71d4af9c925bf8a27f5a45469e90cd5a2f6
Backport compatible message changes from master.

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

Change-Id: I4ee3ba482e7914adfe28db95e729ced782b83369
(bug 38249) No PCRE unicode causes installer to spew giberish

If PHP's PCRE is not compiled with unicode property support, this causes
the regexes used by the parser to not compile, causing the parser to
output giberish. Its been reported that the default PHP package for
cent os has PCRE in such a config.

As a result the installer will output total giberish. The user has
no idea what went wrong because there is no meaningful output.

To counter that, cause Parser to throw an exception in that case.
It seemed easier than figuring out how to convince the installer
not to parse the environment check. For completeness sake though
I fixed the PCRE environment check to adequetely check for PCRE
not having unicode support.

This should be backported to 1.19 since there are quite a few
complaints about the issue on project:Support_desk. /me has
no idea what the procedure for that is in our new git world

Change-Id: Idb1658be4ee6203a55740450e335f570a616671c
(bug 38333) Check global blocks on account create

Before displaying an account creation form, checks against
GlobalBlocking are run, but not when the actual account is
created.

At this time, User::isBlockedFromCreateAccount() does not
run the hooks for which GlobalBlocking is registered.

Change-Id: Ieb3696bc49d6f4c4e3e95d8c55121b7ffa07b506
(bug 37587) Enforce language codes to be html safe

Fixes bug 37587 and many other issues which
might or might not have been reported yet.

Change-Id: I612b90931a0261990bcd294fdb12cfba930c8c2f
(bug 39180) Set x-frame-options='DENY' for api

By default, set the x-frame-options header for api result pages
to 'DENY'. This is to prevent an attacker from iframing an api
page that includes tokens and stealing them from a user, for example
with a fake captcha prompt.

The global $wgApiFrameOptions is used for the value, or can be set
to false to disable setting the header.

Change-Id: I498f874d7f6c180ec4f3abfc81f773c0fa0f421d
(bug 39184) LDAP password leakage

Change-Id: Ie41bed7ecf5390f8815128c227bae371880a6058
(bug 35839) Check permisions for revdel blocks

If a block includes the "Hide username" to revdel the username, check
that the user has permission to 'hideuser' before showing the reason
for the block.

Other metadata about the block (expiration, limits) will still be visible
to admins.

Change-Id: I50a49ea6876b99a944d27f7c34910f0aa47556c3
(Bug 39700) Fix for html injection

Change-Id: Ia3b6098b707ba50fe9298196f321656d1fafe585
Release notes and increment version

Change-Id: I390ccbffcea91c5c2c76615e1a2cc7dbf0ed89d8
Merge branch 'REL1_19' of https://gerrit.wikimedia.org/r/p/mediawiki/core into REL1_19