wiki.techinc.nl/includes/libs/UnpackFailedException.php
Daimona Eaytoy 4be770a196 Deprecate and replace the wfUnpack global function
Move it to the StringUtils class, and make it throw a dedicated
exception. Update code in media/ to use the new method. Those seemed to
be the only usages across all known MW code [1], so hard-deprecate the
method as well.

[1] - https://codesearch.wmcloud.org/search/?q=wfUnpack&files=&excludeFiles=&repos=

Change-Id: I82ce96b6373443cf57a48b98595ca05290f37349
2024-01-17 21:17:24 +00:00

11 lines
123 B
PHP

<?php
namespace MediaWiki\Libs;
use Exception;
/**
* @since 1.42
*/
class UnpackFailedException extends Exception {
}