wiki.techinc.nl/includes/Status
Máté Szabó a5049b481f status: Log getMessage()/getWikiText() calls on good Statuses
Why:

- Calling getMessage()/getWikiText() with a good Status is a logic error
  that converts the Status being operated on into a fatal one.
- However, this error is never logged anywhere, which can make it
  difficult to diagnose such cases, as seen in
  I17166e988bf389a5b03d4a74f539f7bec7f5997f.

What:

- Add a warning-level log for the case when getMessage() or
  getWikiText() is invoked with a good Status.

Bug: T374436
Change-Id: I3efae5c4c336156924f1c9b4186fa9142aaed9ca
2024-10-04 18:32:24 +02:00
..
Status.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
StatusFormatter.php status: Log getMessage()/getWikiText() calls on good Statuses 2024-10-04 18:32:24 +02:00