NoSuchServiceException is in the MediaWiki\Services namespace. Since the
MediaWikiServices class is in the MediaWiki namespace, the
catch ( NoSuchServiceException $e )
line added in Ifc587d61 will fail to catch any exception.
Co-Author: Paladox <thomasmulhall410@yahoo.com>
Bug: T143974
Change-Id: I903336c85c0bb9fb259f475f37959136e2ff7eca
use MediaWiki\Linker\LinkRendererFactory;
use MediaWiki\Services\SalvageableService;
use MediaWiki\Services\ServiceContainer;
+use MediaWiki\Services\NoSuchServiceException;
use MWException;
use ObjectCache;
use SearchEngine;