wiki.techinc.nl/includes/diff
Tim Starling 47a1619027 Remove terminating line breaks from debug messages
A terminating line break has not been required in wfDebug() since 2014,
however no migration was done. Some of these line breaks found their way
into LoggerInterface::debug() calls, where they mess up the formatting
of the debug log.

So, remove terminating line breaks from wfDebug() and
LoggerInterface::debug() calls.

Also:
* Fix the stripping of leading line breaks from the log header emitted
  by Setup.php. This feature, accidentally broken in 2014, allows
  requests to be distinguished in the log file.
* Avoid using the global variable $self.
* Move the logging of the client IP back to Setup.php. It was moved to
  WebRequest in the hopes that it would not always be needed, however
  $wgRequest->getIP() is now called unconditionally a few lines up in
  Setup.php. This means that it is put in its proper place after the
  "start request" message.
* Wrap the log header code in a closure so that variables like $name do
  not leak into global scope.
* In Linker.php, remove a few instances of an unnecessary second
  parameter to wfDebug().

Change-Id: I96651d3044a95b9d210b51cb8368edc76bebbb9e
2020-06-03 12:01:16 +10:00
..
Hook Hook interface type fixes, to fix Phan errors 2020-05-05 11:22:04 +10:00
ArrayDiffFormatter.php Make use of DiffOp::norig/nclosing() and update tests 2020-03-25 15:17:17 +00:00
ComplexityException.php
Diff.php Split DairikiDiff to class per file 2019-04-14 23:37:52 +01:00
DiffEngine.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
DifferenceEngine.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
DifferenceEngineSlotDiffRenderer.php Introduce ContentHandlerFactory 2020-02-07 00:53:51 +03:00
DiffFormatter.php
DiffOp.php Unsuppress other phan issues (part 4) 2019-08-31 17:13:39 +00:00
DiffOpAdd.php Split DairikiDiff to class per file 2019-04-14 23:37:52 +01:00
DiffOpChange.php Split DairikiDiff to class per file 2019-04-14 23:37:52 +01:00
DiffOpCopy.php Split DairikiDiff to class per file 2019-04-14 23:37:52 +01:00
DiffOpDelete.php Split DairikiDiff to class per file 2019-04-14 23:37:52 +01:00
RangeDifference.php Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
SlotDiffRenderer.php Add UnknownContentHandler. 2019-08-29 10:43:11 +00:00
TableDiffFormatter.php Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
TextSlotDiffRenderer.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:31 +01:00
UnifiedDiffFormatter.php
UnsupportedSlotDiffRenderer.php Remove auto-generated and empty lines in comments 2020-03-17 09:55:24 +01:00
WordAccumulator.php
WordLevelDiff.php