```
MediaWiki 1.31.0-alpha (7da7327)
PHP 7.1.1 (apache2handler)
MariaDB 10.1.21-MariaDB
ICU 57.1
```
Our integration test picked up the following issue with 1.31 which wasn't an issue 19 days ago with the MW master branch.
```counterexample
TypeError from line 35 of ...\includes\jobqueue\utils\PurgeJobUtils.php: Argument 3 passed to PurgeJobUtils::invalidatePages() must be of the type array, null given, called in ...\includes\deferred\LinksUpdate.php on line 405
```
```
Notice: TextContent constructed with $text = NULL! This may indicate an error in the caller's scope. [Called from WikitextContent::__construct in ...\includes\content\WikitextContent.php at line 37] in ...\includes\debug\MWDebug.php on line 309
Notice: TextContent constructed with $text = NULL! This may indicate an error in the caller's scope. [Called from WikitextContent::__construct in ...\includes\content\WikitextContent.php at line 37] in ...\includes\debug\MWDebug.php on line 309
Warning: Invalid argument supplied for foreach() in ...\includes\deferred\LinksUpdate.php on line 138
Warning: Invalid argument supplied for foreach() in ...\includes\deferred\LinksUpdate.php on line 143
Warning: Invalid argument supplied for foreach() in ...\includes\deferred\LinksUpdate.php on line 498
Warning: array_diff_key(): Argument #2 is not an array in ...\includes\deferred\LinksUpdate.php on line 784
Warning: array_diff_key(): Argument #1 is not an array in ...\includes\deferred\LinksUpdate.php on line 545
Warning: Invalid argument supplied for foreach() in ...\includes\deferred\LinksUpdate.php on line 546
Warning: array_keys() expects parameter 1 to be array, null given in ...\includes\deferred\LinksUpdate.php on line 462
Warning: array_chunk() expects parameter 1 to be array, null given in ...\includes\deferred\LinksUpdate.php on line 462
Warning: Invalid argument supplied for foreach() in ...\includes\deferred\LinksUpdate.php on line 463
Warning: array_diff_key(): Argument #1 is not an array in ...\includes\deferred\LinksUpdate.php on line 228
Warning: array_keys() expects parameter 1 to be array, integer given in ...\includes\deferred\LinksUpdate.php on line 405
[7985ea4cd4b7d5f403c2f16a] [no req] TypeError from line 35 of ...\includes\jobqueue\utils\PurgeJobUtils.php: Argument 3 passed to PurgeJobUtils::invalidatePages() must be of the type array, null given, called in ...\includes\deferred\LinksUpdate.php on line 405
Backtrace:
#0 ...\includes\deferred\LinksUpdate.php(405): PurgeJobUtils::invalidatePages(Wikimedia\Rdbms\DatabaseMysqli, integer, NULL)
#1 ...\includes\deferred\LinksUpdate.php(229): LinksUpdate->invalidateImageDescriptions(integer)
#2 ...\includes\deferred\LinksUpdate.php(176): LinksUpdate->doIncrementalUpdate()
#3 ...\includes\deferred\DeferredUpdates.php(259): LinksUpdate->doUpdate()
#4 ...\includes\deferred\DeferredUpdates.php(222): DeferredUpdates::runUpdate(LinksUpdate, Wikimedia\Rdbms\LBFactorySimple, string, integer)
#5 ...\includes\deferred\DeferredUpdates.php(127): DeferredUpdates::execute(array, string, integer)
#6 ...\includes\deferred\DeferredUpdates.php(291): DeferredUpdates::doUpdates(string)
#7 ...\includes\deferred\DeferredUpdates.php(97): DeferredUpdates::tryOpportunisticExecute(string)
#8 ...\includes\page\WikiPage.php(1978): DeferredUpdates::addUpdate(AtomicSectionUpdate, integer)
#9 ...\includes\page\WikiPage.php(1675): WikiPage->doCreate(WikitextContent, integer, User, string, array)
```