wiki.techinc.nl/includes/auth
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 docs: Hook interface doc comment review 2020-04-21 09:10:08 +10:00
AbstractAuthenticationProvider.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
AbstractPasswordPrimaryAuthenticationProvider.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
AbstractPreAuthenticationProvider.php
AbstractPrimaryAuthenticationProvider.php
AbstractSecondaryAuthenticationProvider.php
AuthenticationProvider.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
AuthenticationRequest.php Fix some PHPStorm warnings by replacing array functions with loops 2020-02-19 09:28:44 +11:00
AuthenticationResponse.php auth: Set constant visibility 2019-10-30 22:00:32 -07:00
AuthManager.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ButtonAuthenticationRequest.php auth: Use a 'use' statement rather than \ for class import 2020-05-01 17:21:45 +00:00
CheckBlocksSecondaryAuthenticationProvider.php Provide a more informative message for authentication block errors 2019-10-21 12:09:59 +01:00
ConfirmLinkAuthenticationRequest.php Fix some PHPStorm warnings by replacing array functions with loops 2020-02-19 09:28:44 +11:00
ConfirmLinkSecondaryAuthenticationProvider.php
CreatedAccountAuthenticationRequest.php
CreateFromLoginAuthenticationRequest.php
CreationReasonAuthenticationRequest.php
EmailNotificationSecondaryAuthenticationProvider.php
LocalPasswordPrimaryAuthenticationProvider.php Avoid PHP scalar type juggling in includes/ (part 2) 2019-12-30 20:57:18 +00:00
PasswordAuthenticationRequest.php
PasswordDomainAuthenticationRequest.php
PreAuthenticationProvider.php
PrimaryAuthenticationProvider.php Fix numerous PSR12.Properties.ConstantVisibility.NotFound 2020-05-11 01:59:00 +00:00
RememberMeAuthenticationRequest.php
ResetPasswordSecondaryAuthenticationProvider.php
SecondaryAuthenticationProvider.php
TemporaryPasswordAuthenticationRequest.php
TemporaryPasswordPrimaryAuthenticationProvider.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ThrottlePreAuthenticationProvider.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
Throttler.php
UserDataAuthenticationRequest.php
UsernameAuthenticationRequest.php