wiki.techinc.nl/.phan
Timo Tijhof 173954c1b8 GlobalFunctions: Minor clean up of wfMkdirParents()
* Remove docs for unchecked exception (T321683).

* Remove use of MWException, prefer more specific type (T86704).

* Remove use of AtEase (T253461).

* Merge `is_dir||mkdir||is_dir` into one check to more clearly express
  that our success criteria is explicitly one or the other, with
  a repeat for race conditions. This makes them not seem like unrelated
  checks or early returns, rather than the main code.

  This also fixes the seemingly unintentional difference where one
  check was before normalized $dir and one after.

* Use native trigger_error() directly as does not add value to use
  MWDebug::warning() with merely the default parameters. The last
  edge case was $wgDebugToolbar which got fixed with I62d864823ec8a.

Change-Id: Ic44798299a64f902decbc4cf2dbf2206a96c3837
2023-10-19 19:30:42 -07:00
..
internal_stubs Merge "Add support for wikidiff2_multi_format_diff()" 2023-07-31 11:54:12 +00:00
stubs Revert "build: Add phan stub for ReturnTypeWillChange" 2023-05-16 18:01:30 +00:00
config.php GlobalFunctions: Minor clean up of wfMkdirParents() 2023-10-19 19:30:42 -07:00