wiki.techinc.nl/includes/specialpage
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
AuthManagerSpecialPage.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ChangesListSpecialPage.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
DisabledSpecialPage.php Add special page class for disabling special pages 2019-01-12 18:46:36 +00:00
FormSpecialPage.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ImageQueryPage.php Fix more Squiz.Scope.MethodScope.Missing 2020-05-18 20:35:38 +00:00
IncludableSpecialPage.php Fix some Squiz.Scope.MethodScope.Missing 2020-05-16 22:18:49 +01:00
LoginSignupSpecialPage.php Rename mediawiki.special.userlogin.signup.js to mediawiki.special.createaccount 2020-05-24 02:01:01 +01:00
PageQueryPage.php Introduce shortcut to LanguageConverter for all SpecialPage hierarchy 2020-02-17 19:05:35 +02:00
QueryPage.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
RedirectSpecialArticle.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
RedirectSpecialPage.php Add safemode to special redirect parameters that are preserved 2019-07-04 12:38:33 +00:00
SpecialPage.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
SpecialPageFactory.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
SpecialPageFactory_deprecated.php Hard deprecate all methods of old SpecialPageFactory 2020-02-23 22:07:09 +00:00
SpecialRedirectToSpecial.php Fix some Squiz.Scope.MethodScope.Missing 2020-05-16 22:18:49 +01:00
SpecialRedirectWithAction.php Fix some Squiz.Scope.MethodScope.Missing 2020-05-16 22:18:49 +01:00
UnlistedSpecialPage.php Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
WantedQueryPage.php Fix more Squiz.Scope.MethodScope.Missing 2020-05-18 20:35:38 +00:00