Installer: properly override default $wgLogo value

Setup.php uses the value of $wgScriptPath in $wgLogo before the
installer determines the former, so it is necessary to override
the latter even before the WebInstaller_Options page is shown
(because it might never be shown).

Bug: 48084
Change-Id: Icc577c1bb1f78adc7a7cfb0581ae8ea2facba4cf
Allow editing transcluded sections via the API

Change-Id: I784d7263d6743ed16e401384e9efef1f231320a0
API: Fix prop=revisions&rvdiffto= without rvprop=content

Make sure $this->section is initialized (and other stuff is checked)
when rvdiffto is used.

Bug: 64744
Change-Id: Ie6c50ad946ed5150819d004dabfe898a131a0a07
Check for Language::getSpecialPageAliases returning null in SpecialPageFactory

Language::getSpecialPageAliases can return null causing certain
methods within SpecialPageFactory that rely on it to raise
PHP warnings due to trying to foreach over a non-array.

This change will prevent the PHP warning from being raised and
allow those functions' error handling to occur normally.

Change-Id: I2026c25f12798f699ebc306b12173226270fce2e
Linker.php: Do not double escape accesskey in tooltip

Bug: 65029
Change-Id: Iba28651b890e9ea187a55a65eb12ee725598f32d
Remove underscore from classes WebInstaller_*

Part of program to remove underscores from class names. Checked core and
675 extensions for occurrences. All uses are in core in core are updated
in this patch. There are no uses in Gerrit extensions.

Change-Id: I6150c2d3f5a18496da5bcdcadc5d8982b70bec7a
Remove messageTypes.inc and replace it by a hook

The list is now maintained in the translatewiki repo:
https://git.wikimedia.org/blob/translatewiki.git/HEAD/groups%2FMediaWiki%2FMediaWiki.yaml

Change-Id: I4a33b22e425cbc1eeaf8b53870ef7b7947e91b40
Added unicode encoding support flags to FileBackend

* Fixed bug where even using Swift/Azure on Windows
  would disallow non-ASCII file names.

bug: 1780
Change-Id: I19ed72da0b099d35cae74fb08eeb22c113da1065
Fixed "file already exist" optimization in File::transform()

* Previously, the resulting thumbnail did not handle hasFile() and
  stream() properly. This effected doCachedWork() in thumb.php

Change-Id: I8fd025204b5b41472be6c09924892fe8ee9dd260
Avoid an infinite redirect in $wgSecureLogin handling

If, for some reason, (e.g. https://gerrit.wikimedia.org/r/#/c/133205/ )
HTTPS requests are not recognised as such and WebRequest::getProtocol()
unconditionally returns "http", use the fromhttp parameter to avoid an
infinite redirect loop.

Change-Id: Iefbf679ef995f5e347e2b9c3f1f5a5b22055e107
Implement mediawiki.cookie module

Provides functonality similar to WebRequest#getCookie and WebResponse#setcookie.

Wraps $.cookie and automatically takes care of wgCookiePrefix etc.

Bug: 49156
Change-Id: I217ef258aecf1acd335e2cea56ae08b22541c7d4
Co-Author: Matthew Flaschen <mflaschen@wikimedia.org>
Co-Author: Timo Tijhof <krinklemail@gmail.com>
Remove unused variables from SpecialAllpages::showToplevel()

Follow-up If750cad676 (71fe7c5)

Change-Id: I95bf953b0eb742e94ddff1b6adf6d784fb5dc87c
mediawiki.util: Decode parentheses and bang in wikiUrlencode

Matches behaviour of wfUrlencode() and creates prettier urls.

Change-Id: I9b3ecda19f743cd87e790d99d50dd6b730e5ee21
Use FOR UPDATE in prior LocalFile timestamp check

* This covers the case with a snapshotted transaction outside of lock()/unlock()

Change-Id: I8639c2e51cb918f452dc1576681d6224fb4fb2c0
Merge "Implement mediawiki.cookie module"
Merge "Linker.php: Do not double escape accesskey in tooltip"
Localisation updates from https://translatewiki.net.

Change-Id: I7826e5f6fdb2e4e2af623e8fdfc44323469aebac
Update OOjs UI to v0.1.0-pre (80f1797a5c)

New changes:
9e4d2c6 Remove @abstract from classes which can be instantiated
0b43fbe Button accessibility
f61558d Add confirmation dialog
f52f1f2 Localisation updates from https://translatewiki.net.
d6849d5 build: Update jscs and jshint config
d0a5670 ConfirmationDialog clean up
513cb9d Auto-hide menus by default

Local changes:
Add the confirmation dialog messages to MW core's list in Resources.php

Bug: 50955
Change-Id: I67329820a631f46ed537d93398f35456f0e58679
Merge "Update OOjs UI to v0.1.0-pre (80f1797a5c)"
MWException: Remove deprecated methods

No callers in core or extensions.

Change-Id: I3e2dc615bcd23838cf096625a767a7cf50fea140