Don't match HTML entities in language conversion syntax

RegEx provided by Gabriel Wicke.

Change-Id: Idca127acc6f4cdc159ee85d5f816a5d120cbe44e
Remove 'Debug' hook from wfDebug and wfDebugLog

Per the bug report, the 'Debug' hook was triggering an infinite loop when
wgDebugFunctionEntry is enabled.  The Debug hook is used if an extension wants
to stop a debug message from being sent out.  Ideally the wfDebug and related
functions should be as low-level and avoid calling other code as much as
possible to avoid situations like this.

Bug: 55818
Change-Id: I679782489b683503fc624cfea3c7ad72a989b005
Make it possible for EditPage::getCopyrightWarning to return HTML

Adds a $format option to let it return various output formats
so code that needs HTML doesn't have to do hacky stuff.

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

Change-Id: Ifc418e11643e44130c7d5d563aaae870222ba536
Simplify boolean attribute handling for Html::input in templates

The Html class supports this handy shorthand.

Change-Id: Ie34790fa650c7ecad02c2d91130bf0db9172ea3f
Merge "Don't match HTML entities in language conversion syntax"
Merge "Localisation updates from http://translatewiki.net."
BaseTemplate: Exclude two more attributes in makeLink()

'context' and 'primary' are used internally by some SkinTemplate
functions and Vector. They should not be passed on to HTML.

Bug: 55659
Bug: 55660
Change-Id: I1f7a656aacc93f9bf289c481f258824ae28ccf4e
Merge "Remove 'Debug' hook from wfDebug and wfDebugLog"
Remove proxy check in EditPage.php

$wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
$wgProxyMemcExpiry have been removed, along with the open proxy
scanner	script they were added for.

Bug: 54597
Change-Id: Id4c7521443f04995df3d8762d23629c18ada76f8
Merge "Remove proxy check in EditPage.php"
Merge "Make it possible for EditPage::getCopyrightWarning to return HTML"
Merge "Simplify boolean attribute handling for Html::input in templates"
Add @covers tags for more tests

Change-Id: Iff3af78e9b41c445b7f066b6c0d0f4a87d2d6c4e
Declare visibility on class properties

As pointed out by phpcs:

 The var keyword must not be used to declare a property
 (PSR2.Classes.PropertyDeclaration.VarUsed)

Set to public, as this is also done for class properties in classes these
ones extend.

Also break some long lines to silence CodeSniffer.

Change-Id: I77dd45eb2bf1d405d429603b97d5cbfb7ea04ad0