This can be fixed by the UrlShortener migration I suppose.
```
Expectation (writes <= 0) by MediaWiki::main not met:
query-m: INSERT IGNORE INTO `shorturls` (su_id,su_namespace,su_title) VALUES (NULL,'X') [TRX#15eeb384bc89]
TransactionProfiler.php line 311 calls wfBacktrace()
TransactionProfiler.php line 200 calls TransactionProfiler->reportExpectationViolated()
Database.php line 1006 calls TransactionProfiler->recordQueryCompletion()
Database.php line 1935 calls DatabaseBase->query()
ShortUrl.utils.php line 54 calls DatabaseBase->insert()
ShortUrl.hooks.php line 44 calls ShortUrlUtils::encodeTitle()
Hooks.php line 195 calls ShortUrlHooks::addToolboxLink()
VectorTemplate.php line 319 calls Hooks::run()
VectorTemplate.php line 273 calls VectorTemplate->renderPortal()
VectorTemplate.php line 195 calls VectorTemplate->renderPortals()
SkinTemplate.php line 242 calls VectorTemplate->execute()
OutputPage.php line 2318 calls SkinTemplate->outputPage()
MediaWiki.php line 739 calls OutputPage->output()
MediaWiki.php line 506 calls MediaWiki->main()
index.php line 43 calls MediaWiki->run()
index.php line 3 calls include()
```