Schema is not PostgreSQL connection parameter

Temporary fix for bug 70030.

openConnectionWithParams() got a new schema
parameter in 30a82aae9cf and therefore must
not be used to probe some available databases
when checking username/password, because
schema is not at all a PostgreSQL connection
parameter - it something similar to
"current directory" in the database. PostgreSQL
can additionally search additional schemas
for objects in necessary.

This whole openPgConnection logic needs some
deeper repair; for now however, let's quickly
fix bug 70030 which is caused by that fact
that openConnectionWithParams returns magic
"Status" object and no longer a DatabasePostgres
instance we can directly talk to.

As a result, openPgConnection( "create-db" )
was returning a Status object that had
another Status object embedded in the value
field.

This reverts partially commit 30a82aae9cf7e5536eef761637a1277b7c18017e.

Conflicts:
	includes/installer/Installer.php
	includes/installer/PostgresInstaller.php
	maintenance/install.php

Bug: 70030
Change-Id: I61d5f262e60722bc08201b40b61a298d8af42223
Don't try to verify XML well-formedness for partial SVG uploads

Chunked uploads of SVGs are currently failing with "invalid XML" errors
because UploadBase::detectScriptInSvg() requires the full file but is
being called from UploadBase::verifyPartialFile().

So let's do the check twice: once in UploadBase::verifyPartialFile()
where it will pass if non-well-formed, and once in
UploadBase::verifyFile() where it will fail if non-well-formed.

Bug: 65724
Change-Id: I6126e185eb4b183c31946f13c576521f1ed19c16
Add two hooks to allow for extensions to expose log_search values in the UI

* SpecialLogAddLogSearchRelations
   Allows for adding the extra conditions needed by the query

* LogEventsListGetExtraInputs
   Allows for adding extra input fields to interface

Bug: 70850
Change-Id: If8bdbadd882d67cae82c862c7c38000e9329b04f
MediaTransformOutput: Allow <img> alt value to be "0"

Due to use of empty(), the alt and query value was stripped and
replaced with an empty string if the input was "0".

Bug: 38910
Change-Id: I1aef143fc45eb1357e200ad2fcb488dc4876ffbd
Add periods to some move-related error messages

Change-Id: I0c90f9e2b8904702520c69276880b21597abb2ef
mediawiki.ui: checkbox: Fix gap between bevel and border

Use an inset box-shadow instead of adding another pseudo
element. This removes the gap and also keeps the look
consistent on different zoom levels.

Change-Id: Ibf75a09ef9955a5d1cb9d80bff2cce001b60d7c6
Use CSSJanus via composer

Requires I7de49f443 in mediawiki/vendor

Change-Id: I94837938f0e0f3daa4d1f53c390457f843000605
Resources.php: Add <ooui-dialog-process-continue> message, sort list

Change-Id: I6ebc20dd4eab8ba66728e4d5ae37cdf7fee7772f
Merge "Use CSSJanus via composer"
Use "callable" instead of "array" in doc block for ArrayUtils::findLowerBound()

Change-Id: I1207963c53941a8f94350aaced414c8e601fb4e4
Remove deprecated functions from MWFunction

* MWFunction::call()
* MWFunction::callArray()

Change-Id: I9b3acd59bc85d54298711e596397b61e4deeff75
Fix wrong closing tag in Special:Version

Bug: 73081
Change-Id: I808dce238f6eab4c4202f366b0b8d3752087002c
Use getHtmlCode() instead of getCode() to set the lang attribute

The lang attribute of HTML elements should conform to BCP 47.

Bug: 72939
Change-Id: I9b4a734753af2c9dd7256eec60781553bc76edbf
Merge "Use getHtmlCode() instead of getCode() to set the lang attribute"
Allow mediawiki.cookie module to be used on mobile

Change-Id: If9cce75738e11a552eee620bdab8b2e2c5938392
Move ArrayUtils into libs/ as there is nothing tying it to MediaWiki

Change-Id: I6910c85279858895f5462324134bade580a0cae7
Merge "Allow mediawiki.cookie module to be used on mobile"
Move Cookie(Jar) to libs/

This doesn't rely on any other parts of MediaWiki since we can
replace MWException with InvalidArgumentException here.

Change-Id: Id4512b184d24efc6674d486a5d452aa44dc871c6
Changed TransactionProfiler to only work via the DB classes

* This makes it work with xhprof/xdebug, though it will only examine DB queries.

Change-Id: I999b66e6c3af88dda408b2252c248e085af9eea4
Merge "Changed TransactionProfiler to only work via the DB classes"